Merge "Fix package usage of instant app can be updated by unprivileged app" into sc-v2-dev am: d1956470bf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16118585

Change-Id: Idd8b1f0804a387cbddbca72e6fa4c9d223e87696
This commit is contained in:
TreeHugger Robot
2021-11-04 03:55:04 +00:00
committed by Automerger Merge Worker

View File

@@ -12831,7 +12831,7 @@ public class PackageManagerService extends IPackageManager.Stub
return;
}
} else {
if (isInstantApp(packageName, callingUserId)) {
if (isInstantAppInternal(packageName, callingUserId, Process.SYSTEM_UID)) {
return;
}
}