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:
Steven Moreland
2022-04-04 17:10:48 +00:00
parent ec55bbd8e2
commit df1fa99b01

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