Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bd7900f authored by Patrick Baumann's avatar Patrick Baumann Committed by android-build-merger
Browse files

Merge "Recovers on boot when scan of data app fails" into qt-dev am: 9c6b3fdb

am: 040ca221

Change-Id: I90dc3f5101083c6cc3c3d2518efa62dd65fce7d4
parents a67552fc 040ca221
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2822,6 +2822,11 @@ public class PackageManagerService extends IPackageManager.Stub
                        if (disabledPs.codePath == null || !disabledPs.codePath.exists()
                                || disabledPs.pkg == null) {
                            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);
                        }
                    }
                }