Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 117a9bb8 authored by Todd Kennedy's avatar Todd Kennedy Committed by android-build-merger
Browse files

Merge "don't block uninstall of unknown packages" into oc-dev am: 627fbf81 am: 7076de2d

am: 7a9b182b

Change-Id: I35e79bb8bf2c3f9b1ac79d1b4112577426a2681b
parents cd1a85b9 7a9b182b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -19378,7 +19378,7 @@ public class PackageManagerService extends IPackageManager.Stub
        synchronized (mPackages) {
        synchronized (mPackages) {
            final PackageSetting ps = mSettings.mPackages.get(packageName);
            final PackageSetting ps = mSettings.mPackages.get(packageName);
            if (ps == null || filterAppAccessLPr(ps, Binder.getCallingUid(), userId)) {
            if (ps == null || filterAppAccessLPr(ps, Binder.getCallingUid(), userId)) {
                return true;
                return false;
            }
            }
            return mSettings.getBlockUninstallLPr(userId, packageName);
            return mSettings.getBlockUninstallLPr(userId, packageName);
        }
        }