Chromium Code Reviews
Descriptioncustomtabs: Read the SharedPreferences early to avoid StrictMode violations.
The first access to SharedPreferences causes a StrictMode violation
since it touches the disk. Read the preferences in a background thread
as soon as possible to avoid this.
BUG=704483
Review-Url: https://codereview.chromium.org/2769843004
Cr-Commit-Position: refs/heads/master@{#466716}
Committed: https://chromium.googlesource.com/chromium/src/+/6687e9804bcef77c2a9b687d65b9ca65951b352a
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||