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