commit | 8dd1a563b89cc5d54b76bc30f0d7ca9b190b4269 | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Thu Nov 19 16:44:57 2020 +0000 |
committer | Evan Severson <evanseverson@google.com> | Thu Nov 19 16:44:57 2020 +0000 |
tree | 3434c3e4ceb0b32da60a5cfcb2d0c3ba755f9b91 | |
parent | a2d72341a794813fe4f1a75efd9f6e2bc2e3128b [diff] |
Use callingUid not appId for permission check The calling uid shouldn't be stripped of the user, this can cause the permission check to fail if the calling app is from a secondary user. Test: atest CtsPackageUninstallTestCases --user-type secondary_user Fixes: 173622108 Change-Id: If19aa3bdf397a866d24c6fa2ff4a110eba802853