Skip to content
Commit 9ea2d7cc authored by Jackal Guo's avatar Jackal Guo
Browse files

Use userId to query the package uid instead of 0.

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 valid userId to query the package uid.

Bug: 186180067
Test: atest -p services/core/java/com/android/server/am
Change-Id: Iaac8e56f3dcc97145d4c21fb092aac892fa59231
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