tablet: Fix bug with screenshot persisting when transitiong while overview.
More details in the bug. The problem was that we would start observing, but not stop observing. The normal workflow was to stop observing when the window itself was done animating, but it didn't because it was already maximized. It would also stop observing, if there was no animation detected normally, but it didn't because the overview restore animation was going on. Move the overview within the scoped observer so that TabletModeController observes the scheduled animation properly, and will cleanup properly. Test: manual Bug: 1002735 Change-Id: I3aff9cc81375a9258db6de57571241ab5bb1f0e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797110Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#695698}
Showing
Please register or sign in to comment