[Files Ranking] Change trigger for drive prefetch.
We currently trigger a prefetch of Drive QuickAccess results via the AppListClientImpl::ViewShown method, which misses some launcher uses in tablet mode, leading to stale Drive results in zero state. There's a simple fix for this: AppListControllerImpl:: OnAppListVisibilityChanged is called in exactly the cases we want to prefetch. Note: this doesn't solve the issue of possibly stale results if the user sits on the home screen app list for a long time, that will come in a follow-up CL. Bug: 959679 Change-Id: Idf2c489ee39c2625ddd84622f42c160837442e1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1798080Reviewed-by:Jia Meng <jiameng@chromium.org> Reviewed-by:
Jenny Zhang <jennyz@chromium.org> Auto-Submit: Tony Yeoman <tby@chromium.org> Commit-Queue: Tony Yeoman <tby@chromium.org> Cr-Commit-Position: refs/heads/master@{#696690}
Showing
Please register or sign in to comment