Android: Turn off StrictMode.ThreadPolicy
The vast majority of StrictModeContext suppressions are for disk IO, which is a ThreadPolicy violation. Turning this off in //chrome improves performance (see https://crbug.com/40279700). StrictModeContext should still be used in WebView-only code and WebView-shared code with Chrome. Bug: 40286080 Change-Id: Ib921ff6014200b1f50e4cbd09f0b0a4e7b584bda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5398278 Auto-Submit: Peter Wen <wnwen@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Peter Wen <wnwen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1278445}
Loading
Please register or sign in to comment