OSDN Git Service

Reenable Strictmode disk reads checks in WebViewFactory.
authorGustav Sennton <gsennton@google.com>
Wed, 27 Sep 2017 10:19:45 +0000 (11:19 +0100)
committerGustav Sennton <gsennton@google.com>
Mon, 15 Jan 2018 18:15:19 +0000 (18:15 +0000)
commit90b38a9e3831121df736e87ecf724c29ad101897
tree7fa109f226548c87f7414512aa4942e16d7d13d8
parentdc4cb146315240441fc8d9c05fe8dd63370a7c57
Reenable Strictmode disk reads checks in WebViewFactory.

In an earlier release we had to allow disk reads during a part of
WebView initialization, now that this fault is fixed we can remove that
allowance.

Bug: 63324842
Test: Manual: ensure calling new WebView() doesn't cause StrictMode disk
read violation.
Test: run WebViewHostSideStartupTest.testStrictMode()

Change-Id: If7b4ad790c67469806c255427d86e5fd28d19f35
core/java/android/webkit/WebViewFactory.java