commit | d20c7c084fd86486ecd4b58ba9b5da8eccdbb45b | [log] [tgz] |
---|---|---|
author | Evan Chen <evanxinchen@google.com> | Tue Jun 15 03:43:40 2021 +0000 |
committer | Evan Chen <evanxinchen@google.com> | Tue Jun 15 17:34:58 2021 +0000 |
tree | 64456c4b60499f8728fda11f93d9c78aabe33ee4 | |
parent | e6fb6087aa433228cf0fb1a0d52d1a8721df38e3 [diff] |
Fix mCachedAssociations for multiple users There's no need clearCallingIdentity for add a new association since we setup our mCachedAssociations as an array and the index is the user id. We will store all the associations at index 0, if we use clearCallingIdentity. Furthermore we alreay called withCleanCallingIdentity when call updateSpecialAccessPermissionForAssociatedPackage. Fix: 185617756, 186795393 Test: Manual Change-Id: I16d443b33e15873d29e6c5a652af9b29274fbf29