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

Commit 4d13f0fe authored by William Loh's avatar William Loh Committed by Android (Google) Code Review
Browse files

Merge "Fix missing ASL after reboot" into main

parents c2f344e8 0f41e482
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -501,9 +501,9 @@ final class InstallPackageHelper {
            mPm.setUpCustomResolverActivity(pkg, pkgSetting);
        }

        // When upgrading a package, pkgSetting is copied from oldPkgSetting. Clear the app
        // metadata file path for the new package.
        if (oldPkgSetting != null) {
        // When upgrading a package, clear the app metadata file path for the new package.
        if (oldPkgSetting != null
                && oldPkgSetting.getLastUpdateTime() < pkgSetting.getLastUpdateTime()) {
            pkgSetting.setAppMetadataFilePath(null);
            pkgSetting.setAppMetadataSource(APP_METADATA_SOURCE_UNKNOWN);
        }