Merge "don't block uninstall of unknown packages" into oc-dev
am: 627fbf8157
Change-Id: I5cf548758617ae5c74f81a68b23893f584a46ee5
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user