Chromium Code Reviews
Description[Android Tests] Preload Calendar to avoid StrictMode violations
In instrumentation tests Calendar#getInstance can trigger ReadFromDisk
StrictMode violations when it needs to read system files to obtain the
time zone, which make tests fail. This patch preloads Calendar to avoid
it happening later on the UI Thread and avoid these flakes.
BUG=705477
Review-Url: https://codereview.chromium.org/2779593003
Cr-Commit-Position: refs/heads/master@{#459798}
Committed: https://chromium.googlesource.com/chromium/src/+/f51dc18c55c7af0bac195c1b507398c5f408f0bf
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||