Fix strict mode exclusions for WebView prefs.
Anywhere we call getSharedPreferences might be a disk write as the directory for prefs is created if it doesn't already exist; move the existing StrictModeContext in AwGeolocationPermissions up to the caller to also cover where the SharedPreferences object is retrieved, and add another missing one when the browser context is created. Bug: 994321 Change-Id: I2e18e156d378910751ee2a530d72180eab012696 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773781Reviewed-by:Nate Fischer <ntfschr@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#690913}
Showing
Please register or sign in to comment