Commit 99c1a2c3 authored by Matthew Jones's avatar Matthew Jones Committed by Commit Bot

Update tab switcher state in ToolbarPhone after animation completes

Previously onTabSwitcherTransitionFinished was only called when
exiting the tab switcher. This change implements
onOverviewModeFinishedShowing to call this method.

BUG=710750

Change-Id: I1a34551a6cd93a54a9461441c25ce022144efa9e
Reviewed-on: https://chromium-review.googlesource.com/929991Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539205}
parent 34c6e7db
......@@ -593,6 +593,11 @@ public class ToolbarManager implements ToolbarTabController, UrlFocusChangeListe
public void onOverviewModeFinishedHiding() {
mToolbar.onTabSwitcherTransitionFinished();
}
@Override
public void onOverviewModeFinishedShowing() {
mToolbar.onTabSwitcherTransitionFinished();
}
};
mSceneChangeObserver = new SceneChangeObserver() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment