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

Commit a194a3fc authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Allow system packages to change path during OTA.

We already do it for disabled packages.

Bug: 295047859
Test: presubmit
Change-Id: I5b659d652396c479037ab5b825c5fec759608ca1
parent 53cdc90d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3546,6 +3546,7 @@ final class InstallPackageHelper {
                        + " no longer exists; its data will be wiped");
                mInjector.getHandler().post(
                        () -> mRemovePackageHelper.removePackageData(ps, userIds, null, 0, false));
                expectingBetter.put(ps.getPackageName(), ps.getPath());
            } else {
                // we still have a disabled system package, but, it still might have
                // been removed. check the code path still exists and check there's