android: Allow disk writes to init shared prefs.
If code used very early in startup reads shared preferences and the app is freshly installed the prefs directory might not exist yet, triggering a disk write in getDefaultSharedPreferences. Suppress this for StrictMode as it can happen in WebView. Bug: 1131941 Change-Id: Iaf738bad917673a1e5a0d3804f1c55f3181b10a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2431730 Auto-Submit: Richard Coles <torne@chromium.org> Reviewed-by:Nate Fischer <ntfschr@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#810892}
Showing
Please register or sign in to comment