Skip to content
Commit 131d0199 authored by Jackal Guo's avatar Jackal Guo
Browse files

Revert "Revert "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.

This reverts commit 981d9955.

Bug: 186180067
Test: atest -p core/java/android/view/accessibility
Test: atest -p services/accessibility
Change-Id: Ifd26b2aa2356e3bf197ef4ec638cdc7683d741ac
parent 1a7e40fa
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