Merge "Fix package usage of instant app can be updated by unprivileged app" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d1956470bf
@@ -12822,7 +12822,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isInstantApp(packageName, callingUserId)) {
|
if (isInstantAppInternal(packageName, callingUserId, Process.SYSTEM_UID)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user