Skip to content
Commit 5ee8e905 authored by Jackal Guo's avatar Jackal Guo
Browse files

Add MATCH_ANY_USER flag when get valid package uid

Now getPackageUid would check if the package is installed on the
given userId. Since we treat calls from a profile as if made by
its parent, using MATCH_ANY_USER to query the uid of the given
package name.

Bug: 186180067
Test: atest -p core/java/android/view/accessibility
Test: atest -p services/accessibility
Change-Id: I0c452d880f30b6bc0167757dc04fb8d2c69a6d15
parent c0a44448
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment