Keystore 2.0: Add onDeviceOffBody to AndroidKeyStoreMaintenance.

Also have KeyStore.onDeviceOffBody call
AndroidKeyStoreMaintenance.onDeviceOffBody.

Test: N/A
Bug: 171305684
Change-Id: I0b01764bfc4c5828d17ccfffb4f8dad5f3bcea6d
This commit is contained in:
Janis Danisevskis
2021-03-23 19:18:55 -07:00
parent d880cf50a5
commit fd5cba4483
2 changed files with 15 additions and 0 deletions

View File

@@ -1204,6 +1204,7 @@ public class KeyStore {
* Notify keystore that the device went off-body.
*/
public void onDeviceOffBody() {
AndroidKeyStoreMaintenance.onDeviceOffBody();
try {
mBinder.onDeviceOffBody();
} catch (RemoteException e) {