首页 > 解决方案 > Toggle WebView Multiprocess flag does not take effect

问题描述

I'm turning on MultiProcess WebView flag using

Settings.Global.putInt(getContentResolver(),
            Settings.Global.WEBVIEW_MULTIPROCESS, 1);

Also, querying for the same returns 1 which means the flag is set.

This is done before my WebView is initialized, but the WebView logs print it as running in single process

I/cr_BrowserStartup: Initializing chromium process, singleProcess=true

Am I missing something here?

标签: androidwebviewandroid-webview

解决方案


推荐阅读