Use window util to minimize windows when going home
HomeScreenController should minimize non-foreground windows without animation when handling requests to go to home screen. Instead of just using WindowState::Minimize() on each window, use window_util::HideAndMaybeMinimizeWithoutAnimation(). The later should ensure that windows are properly minimized without using animation. BUG=1024659 TEST=Open an android app, then another app above it. Tap Home button. The app in the foreground animates to the home screen; the android app gets minimized without animating. Change-Id: Idb9caa86891b2f21e2127333acfca8dbaea9ed52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918092Reviewed-by:Alex Newcomer <newcomer@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#715526}
Showing
Please register or sign in to comment