commit | 3f30364811676678084e7a459fa0f684f95d1221 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Wed Sep 20 16:30:19 2017 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Mon Oct 02 09:57:48 2017 -0700 |
tree | b633d239006c1a5f26a0ade16f367adac2452d69 | |
parent | 00f94598c73b9b30a6855862b514dc53789b564c [diff] [blame] |
Fixed two bugs that broke the keystore granting mechanism Bug: 65851049 Merged-In: Ibea71d42934d283c95729eca6772a9aadb949a6a Change-Id: Ibea71d42934d283c95729eca6772a9aadb949a6a
diff --git a/keystore/key_store_service.cpp b/keystore/key_store_service.cpp index 310d8e2..c8842c5 100644 --- a/keystore/key_store_service.cpp +++ b/keystore/key_store_service.cpp
@@ -526,7 +526,7 @@ return String16(); } - return String16(mKeyStore->addGrant(String8(name).string(), granteeUid, callingUid).c_str()); + return String16(mKeyStore->addGrant(String8(name).string(), callingUid, granteeUid).c_str()); } KeyStoreServiceReturnCode KeyStoreService::ungrant(const String16& name, int32_t granteeUid) {