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
Loading
Please register or sign in to comment