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