summaryrefslogtreecommitdiff
path: root/keystore
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2021-04-22 16:13:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-04-22 16:13:34 +0000
commitf8cd83ff2df2da135b0074c61c238bdc85845795 (patch)
treef83893f51956a7f00334ab26d968099c70572f90 /keystore
parenta3c2e8478bd25b45e25f749a2bc0fbd3f839ce28 (diff)
parent67f11e65cab3bcccacd059be9635700096716466 (diff)
Merge "Make sure DPC knows if revoke fails" into sc-dev
Diffstat (limited to 'keystore')
-rw-r--r--keystore/java/android/security/IKeyChainService.aidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl
index 091f5795784f..6d3d84c75518 100644
--- a/keystore/java/android/security/IKeyChainService.aidl
+++ b/keystore/java/android/security/IKeyChainService.aidl
@@ -66,7 +66,8 @@ interface IKeyChainService {
boolean isCredentialManagementApp(String packageName);
// APIs used by KeyChainActivity
- void setGrant(int uid, String alias, boolean value);
+ // setGrant may fail with value=false when ungrant operation fails in KeyStore.
+ boolean setGrant(int uid, String alias, boolean value);
boolean hasGrant(int uid, String alias);
// API used by Wifi