Skip to content
Commit 12f64dad authored by Torne (Richard Coles)'s avatar Torne (Richard Coles)
Browse files

Make WebView data directory configurable.

Add WebView.setDataDirectory(String suffix) and WebView.disableWebView()
interfaces. These will enable applications to better control the use of
WebView when running multiple processes, since it's not safe for more
than one process in an app to use the same data directory.

disableWebView is completely implemented in this change;
setDataDirectory will require WebView-side implementation changes to be
functional.

Bug: 63748219
Test: cts android.webkit.cts.WebViewDataDirTest
Change-Id: Ieff225dc99b6b3ca5f223c35f7a854f0c53692df
parent e3def31e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment