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

Commit 12dd9cd4 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Fix default of extractNativeLibs in parseBaseApplication

This is a missed change in 4e54b521.

Test: adb install, check that libs are really not extracted.
Bug: 112037137
Change-Id: I0b819d656eb427c4b7b35e027808b87f3aad3c15
parent 4a09436a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3760,9 +3760,11 @@ public class PackageParser {
            ai.flags |= ApplicationInfo.FLAG_MULTIARCH;
        }

        final boolean extractNativeLibsDefault =
                owner.applicationInfo.targetSdkVersion < Build.VERSION_CODES.Q;
        if (sa.getBoolean(
                com.android.internal.R.styleable.AndroidManifestApplication_extractNativeLibs,
                true)) {
                extractNativeLibsDefault)) {
            ai.flags |= ApplicationInfo.FLAG_EXTRACT_NATIVE_LIBS;
        }