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

Commit 6e04eb57 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix unable to create base.art" into main

parents ac30436c ab1102c2
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -1029,14 +1029,16 @@ final class InstallPackageHelper {
                if (reconciledPackages == null) {
                    return;
                }
                if (renameAndUpdatePaths(requests)) {
                    // rename before dexopt because art will encoded the path in the odex/vdex file
                    if (Flags.improveInstallFreeze()) {
                        prepPerformDexoptIfNeeded(reconciledPackages);
                    }
                if (renameAndUpdatePaths(requests)
                        && commitInstallPackages(reconciledPackages)) {
                    if (commitInstallPackages(reconciledPackages)) {
                        success = true;
                    }
                }
            }
        } finally {
            completeInstallProcess(requests, createdAppId, success);
            Trace.traceEnd(TRACE_TAG_PACKAGE_MANAGER);