Merge "[Bugfix]check whitelisted packages exclude nonsystem app" am: bd37127ef1 am: 5e690319be am: 7606d5e27d am: 1ea264c1d4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2486997 Change-Id: I33f5d73fad7e65350e10002b920744c3da3fabc4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -222,7 +222,7 @@ class UserSystemPackageInstaller {
|
||||
final Set<String> userAllowlist = getInstallablePackagesForUserId(userId);
|
||||
|
||||
pmInt.forEachPackageState(packageState -> {
|
||||
if (packageState.getPkg() == null) {
|
||||
if (packageState.getPkg() == null || !packageState.isSystem()) {
|
||||
return;
|
||||
}
|
||||
boolean install = (userAllowlist == null
|
||||
|
||||
Reference in New Issue
Block a user