Revert "Remove HomeLauncherGestureHandlerObserver"
This reverts commit 433bbd52. Reason for revert: Findit (https://goo.gl/kROfz5) identified CL at revision 711038 as the culprit for failures in the build cycles as shown on: https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzQzM2JiZDUyMTA0MmRjOTcyMmQ2ZDg2Nzk0MzNjODE0MGRmOWQwNGMM Sample Failed Build: https://ci.chromium.org/b/8898131381528610928 Sample Failed Step: compile Original change's description: > Remove HomeLauncherGestureHandlerObserver > > HomeLauncherGestureHandler currently has two observers: > * AppListControllerImpl, which is also a HomeScreenDelegate > implementation (on which HomeScreenGestureHandler already > depends, so additional observer interface just > obscures/complicates this dependency) > * HomeLauncherStateWaiter which is used by interactive UI/perf tests > to wait for launcher animations to complete > > For the former case, moving the observer methods to HomeScreenDelegate > interface will work fine. > For latter case, the test waiter can register a callback with > AppListControllerImpl to be run when the home launcher animations are > complete - the same way it's done by LauncherStateWaiter, an equivalent > test waiter used in clamshell mode (or for waiting for non-visibility > app list state transitions) > > Change-Id: Ia333bedab2b8683d35da2d00030cf40df2c619f5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888652 > Reviewed-by: Manu Cornet <manucornet@chromium.org> > Reviewed-by: Mitsuru Oshima <oshima@chromium.org> > Commit-Queue: Toni Baržić <tbarzic@chromium.org> > Cr-Commit-Position: refs/heads/master@{#711038} Change-Id: I449d4c15018c05c09953d445a50d1c1dc6f7c1a0 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890735 Cr-Commit-Position: refs/heads/master@{#711044}
Showing
Please register or sign in to comment