• Toni Barzic's avatar
    Fix app window transition to home screen · 47c9a8ca
    Toni Barzic authored
    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: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarManu Cornet <manucornet@chromium.org>
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#713552}
    47c9a8ca
home_screen_controller.cc 11.4 KB