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

Commit b6156ca0 authored by Shubham Ajmera's avatar Shubham Ajmera
Browse files

Remove broken secondary dexopt during OTA

This is interim until the selinux policies get fixed.

Bug: 65067046
Test: make
Change-Id: Iea69e987ae451c80fa67065e08939e389efd2814
parent 557c0549
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -323,11 +323,6 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
                new DexoptOptions(pkg.packageName, compilationReason,
                        DexoptOptions.DEXOPT_BOOT_COMPLETE));

        mPackageManagerService.getDexManager().dexoptSecondaryDex(
                new DexoptOptions(pkg.packageName, compilationReason,
                        DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX |
                                DexoptOptions.DEXOPT_BOOT_COMPLETE));

        return commands;
    }