[Android] Hide the keyboard accessory sheet before switching tabs
Before this CL, the (non-horizontal) tab switcher would initiate the tab switching before emitting an event that the scene is changing. For the keyboard accessory, this meant that changes to the old scene are not applied anymore. Most importantly, hiding the keyboard-replacing sheet would restore the layout size too late and the tab would appear cropped. This CL notifies a scene as soon as it is detached to give it the time to clean up. Now, the keyboard accessory can restore the layout and the transition into a full-sized tab is restored again. Bug: 876254 Change-Id: I8f17a51ce3f4b7de4ee41483f79240323ec9acea Reviewed-on: https://chromium-review.googlesource.com/1196406 Commit-Queue: Friedrich Horschig [CEST] <fhorschig@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#587701}
Showing
Please register or sign in to comment