1.Steps to reproduce the problem:
Device updates from an earlier version to any version of Android 6.0.
Symptom of the problem:
Preloaded apps (e.g. Google Play services or Google Play Store) crash repeatedly, leaving the device in an
unusable state.
Preconditions of when the problem would be reproduced:
If an app is removed from the system image or its package name is renamed during the OTA update
process.
Device updates from an earlier version to any version of Android 6.0.
Symptom of the problem:
Preloaded apps (e.g. Google Play services or Google Play Store) crash repeatedly, leaving the device in an
unusable state.
Preconditions of when the problem would be reproduced:
If an app is removed from the system image or its package name is renamed during the OTA update
process.
frameworks/base / services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java
private boolean isSysComponentOrPersistentPlatformSignedPrivAppLPr(PackageParser.Package pkg) {
if (UserHandle.getAppId(pkg.applicationInfo.uid) < FIRST_APPLICATION_UID) {
return true;
}
if (!pkg.isPrivilegedApp()) {
return false;
}
PackageSetting sysPkg = mService.mSettings.getDisabledSyst