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

Commit d937fbe2 authored by Mark White's avatar Mark White
Browse files

AppCompat override no longer applies for WebView Zygote

Change-Id: Ifc85f4928e0c4b94fef6df57f45df3f2b40a96f7
Test: Verify appcompat against apps mentioned in bug
Fix: 299541879
parent 1b7e9c03
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -757,7 +757,6 @@ public class Process {
                                                  @Nullable String invokeWith,
                                                  @Nullable String packageName,
                                                  @Nullable long[] disabledCompatChanges,
                                                  boolean bindMountSyspropOverrides,
                                                  @Nullable String[] zygoteArgs) {
        // Webview zygote can't access app private data files, so doesn't need to know its data
        // info.
@@ -767,7 +766,7 @@ public class Process {
                    /*zygotePolicyFlags=*/ ZYGOTE_POLICY_FLAG_EMPTY, /*isTopApp=*/ false,
                disabledCompatChanges, /* pkgDataInfoMap */ null,
                /* whitelistedDataInfoMap */ null, /* bindMountAppsData */ false,
                /* bindMountAppStorageDirs */ false, bindMountSyspropOverrides, zygoteArgs);
                /* bindMountAppStorageDirs */ false, /* bindMountSyspropOverrides */ false, zygoteArgs);
    }

    /**
+0 −1
Original line number Diff line number Diff line
@@ -2477,7 +2477,6 @@ public final class ProcessList {
                        app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
                        app.info.dataDir, null, app.info.packageName,
                        app.getDisabledCompatChanges(),
                        bindOverrideSysprops,
                        new String[]{PROC_START_SEQ_IDENT + app.getStartSeq()});
            } else if (hostingRecord.usesAppZygote()) {
                final AppZygote appZygote = createAppZygoteForProcessIfNeeded(app);