Implement getInterfaceHash/Version (omapi)
As these interfaces get frozen for TM, java services implementing the interfaces are required to implement getInterfaceHash and getInterfaceVersion [1] [1] https://source.android.com/devices/architecture/aidl/stable-aidl#new-meta-interface-methods Bug: 190577319 Test: m Change-Id: I274f847ed8156acd0c4b288e306fcab2d380bcd5
This commit is contained in:
@@ -118,6 +118,16 @@ public final class SEService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getInterfaceHash() {
|
||||||
|
return ISecureElementListener.HASH;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getInterfaceVersion() {
|
||||||
|
return ISecureElementListener.VERSION;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
private SEListener mSEListener = new SEListener();
|
private SEListener mSEListener = new SEListener();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user