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:
@@ -12831,7 +12831,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (isInstantApp(packageName, callingUserId)) {
|
||||
if (isInstantAppInternal(packageName, callingUserId, Process.SYSTEM_UID)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user