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

am: e9bec62854

Change-Id: Ice5b2d21986bfbb1735743843c6fbb178bb59ee2
This commit is contained in:
Todd Kennedy
2017-06-15 22:26:58 +00:00
committed by android-build-merger

View File

@@ -19378,7 +19378,7 @@ public class PackageManagerService extends IPackageManager.Stub
synchronized (mPackages) {
final PackageSetting ps = mSettings.mPackages.get(packageName);
if (ps == null || filterAppAccessLPr(ps, Binder.getCallingUid(), userId)) {
return true;
return false;
}
return mSettings.getBlockUninstallLPr(userId, packageName);
}