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
Merged-In: I274f847ed8156acd0c4b288e306fcab2d380bcd5
Change-Id: I274f847ed8156acd0c4b288e306fcab2d380bcd5
(cherry picked from commit df1fa99b01)
This commit is contained in:
Steven Moreland
2022-04-04 17:10:48 +00:00
parent 5378a82b02
commit 32d2c1bf21

View File

@@ -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();