Merge "Disallow OobConfig being suspended" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ccdad8f85b
@@ -11947,6 +11947,12 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mProtectedPackages.isPackageStateProtected(userId, packageName)) {
|
||||
Slog.w(TAG, "Cannot suspend/un-suspend package \"" + packageName
|
||||
+ "\": protected package");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user