Fix app window transition to home screen
Calling OnHomeLauncherTargetPositionChanged() can change shelf bounds, which in turn causes display work area update, and window bounds change. With cross fade bounds update the window transition to home screen looks broken (as cross fade creates a layer copy that is not animated). There's an open bug to fix excessive work area updates, but in the meantime, disabling the window animations while calling OnHomeLauncherTargetPositionChanged() works around the issue. BUG=1005366 Change-Id: Idf97b88204984660831cd6b025d5bdd93b7bd958 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902480Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Manu Cornet <manucornet@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#713552}
Showing
Please register or sign in to comment