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

Commit 44b2cdc4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Enable multiprocess WebView for all devices."

parents f6f3f0b0 2bdf647b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -272,10 +272,8 @@ public class SystemImpl implements SystemInterface {

    @Override
    public boolean isMultiProcessDefaultEnabled() {
        // Multiprocess is enabled for all 64-bit devices, since the ability to run the renderer
        // process in 32-bit when it's a separate process typically results in a net memory saving.
        // Multiprocess is also enabled for 32-bit devices unless they report they are "low ram".
        return Build.SUPPORTED_64_BIT_ABIS.length > 0 || !ActivityManager.isLowRamDeviceStatic();
        // Multiprocess is enabled by default for all devices.
        return true;
    }

    // flags declaring we want extra info from the package manager for webview providers