PackageManager: Don't clear app profiles during system upgrades.
They don't need to be cleared and will remain valid as long as the application itself hasn't changed. bug: 28998083 bug: 29067239 Change-Id: I2e4a4ee1b168da81073b8e70b12918db592fe691
This commit is contained in:
@@ -2724,7 +2724,6 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE
|
||||
| Installer.FLAG_CLEAR_CODE_CACHE_ONLY);
|
||||
}
|
||||
clearAppProfilesLIF(ps.pkg, UserHandle.USER_ALL);
|
||||
}
|
||||
ver.fingerprint = Build.FINGERPRINT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user