Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c0b8e06 authored by Jackal Guo's avatar Jackal Guo Committed by Android (Google) Code Review
Browse files

Merge "Use userId to query the package uid instead of 0."

parents 72b8af7c 9ea2d7cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4137,7 +4137,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        if (appId < 0 && packageName != null) {
            try {
                appId = UserHandle.getAppId(AppGlobals.getPackageManager()
                        .getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, 0));
                        .getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, userId));
            } catch (RemoteException e) {
            }
        }