Add flag MATCH_ANY_USER to query the package uid.
The target package may not be always installed on the user 0. Since getPacakgeUid would check the package installed state now, we should use the flag MATCH_ANY_USER to query the package uid across user. Bug: 186180067 Fix: 189728752 Test: atest -p services/core/java/com/android/server/am Test: atest -p services/core/java/com/android/server/wm Change-Id: Iab7c31beb38a4a4a4252cbfa016dc1096f1e1d37
Loading
Please register or sign in to comment