Skip to content
Commit 8dd1a563 authored by Evan Severson's avatar Evan Severson
Browse files

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
parent a2d72341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment