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

Commit f9484453 authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] Bug fix compiling secondary dexes from cmd line

Cherry-picks aosp/1990974

BUG: 220991268
Test: manual
Change-Id: Ic3cef72627985bb906e87b875c180a7dc32a295f
parent 9c7fdd7e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -460,7 +460,8 @@ final class DexOptHelper {
                | DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES
                | DexoptOptions.DEXOPT_BOOT_COMPLETE
                | (force ? DexoptOptions.DEXOPT_FORCE : 0);
        return performDexOpt(new DexoptOptions(packageName, compilerFilter, flags));
        return performDexOpt(new DexoptOptions(packageName, REASON_CMDLINE,
                compilerFilter, null /* splitName */, flags));
    }

    // Sort apps by importance for dexopt ordering. Important apps are given