Merge "Recovers on boot when scan of data app fails" into qt-dev
am: 9c6b3fdb2f
Change-Id: I25988b024177af15fc87c1c003dc8a3ef1086161
This commit is contained in:
@@ -2801,6 +2801,11 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
if (disabledPs.codePath == null || !disabledPs.codePath.exists()
|
if (disabledPs.codePath == null || !disabledPs.codePath.exists()
|
||||||
|| disabledPs.pkg == null) {
|
|| disabledPs.pkg == null) {
|
||||||
possiblyDeletedUpdatedSystemApps.add(ps.name);
|
possiblyDeletedUpdatedSystemApps.add(ps.name);
|
||||||
|
} else {
|
||||||
|
// We're expecting that the system app should remain disabled, but add
|
||||||
|
// it to expecting better to recover in case the data version cannot
|
||||||
|
// be scanned.
|
||||||
|
mExpectingBetter.put(disabledPs.name, disabledPs.codePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user