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

This commit is contained in:
TreeHugger Robot
2021-11-04 03:38:06 +00:00
committed by Android (Google) Code Review

View File

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