Merge "Remove UPDATED_SYSTEM_APP from updated system apps no longer exist" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c2ea9c7f7
@@ -3588,6 +3588,11 @@ final class InstallPackageHelper {
|
||||
// remove the package from the system and re-scan it without any
|
||||
// special privileges
|
||||
mRemovePackageHelper.removePackage(pkg, true);
|
||||
PackageSetting ps = mPm.mSettings.getPackageLPr(packageName);
|
||||
if (ps != null) {
|
||||
ps.getPkgState().setUpdatedSystemApp(false);
|
||||
}
|
||||
|
||||
try {
|
||||
final File codePath = new File(pkg.getPath());
|
||||
synchronized (mPm.mInstallLock) {
|
||||
|
||||
Reference in New Issue
Block a user