Merge "Disallow OobConfig being suspended" into nyc-mr1-dev

This commit is contained in:
Esteban Talavera
2016-07-07 10:33:21 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}