Download location: fix ANR issue.
Currently we access disks on Android main thread to pull download directories, which can cause Android to skip over 100 frames during rendering, or even totally bust the rendering and show a black screen. When try to build download location UI, it may stuck a few seconds(ANR). This CL moves all disk access operation to background thread, so UI will be fast and smooth. Bug: 844107 Change-Id: Icba6db01a4a638cdc62b2e1d207e73981af15dca Reviewed-on: https://chromium-review.googlesource.com/1107041Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Min Qin <qinmin@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#569129}
Showing
Please register or sign in to comment