Skip to content
Commit 26224ee1 authored by Jackal Guo's avatar Jackal Guo
Browse files

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
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