Revert "Download location: fix ANR issue."
This reverts commit 8d5afbb1. Reason for revert: We found other issues related to this CL, also this may introduce some flaky test, see crbug/855167, crbug/855168. Original change's description: > 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/1107041 > Reviewed-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} TBR=dtrainor@chromium.org,qinmin@chromium.org,xingliu@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 844107 Change-Id: I131166661ca57ee2b07d7c27c5f0df17813dc0dc Reviewed-on: https://chromium-review.googlesource.com/1112777Reviewed-by:Xing Liu <xingliu@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#569863}
Showing
Please register or sign in to comment