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

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

Merge "Fix the problem of missing signature permissions" into main

parents d23987db 80d00eca
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -791,16 +791,6 @@ public final class DexOptHelper {
            }
            try {
                Trace.traceBegin(TRACE_TAG_PACKAGE_MANAGER, "dexopt");

                // This mirrors logic from commitReconciledScanResultLocked, where the library
                // files needed for dexopt are assigned.
                PackageSetting realPkgSetting = installRequest.getRealPackageSetting();
                // Unfortunately, the updated system app flag is only tracked on this
                // PackageSetting
                boolean isUpdatedSystemApp =
                        installRequest.getScannedPackageSetting().isUpdatedSystemApp();
                realPkgSetting.getPkgState().setUpdatedSystemApp(isUpdatedSystemApp);

                DexoptResult dexOptResult = DexOptHelper.dexoptPackageUsingArtService(
                        installRequest, dexoptOptions);
                installRequest.onDexoptFinished(dexOptResult);