Commit a5956e5c authored by Alex Newcomer's avatar Alex Newcomer Committed by Commit Bot

cros: Fix launcher not shown while logging in during tablet mode

We were dismissing the launcher when logging in via tablet mode.

Check for tablet mode before dismissing.

Bug: 988378
Change-Id: Ie956dabd899be4dc849e2eed845a02dbd4d0e7b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730765Reviewed-by: default avatarMatthew Mourgos <mmourgos@chromium.org>
Commit-Queue: Alex Newcomer <newcomer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683292}
parent 76564d1b
...@@ -593,6 +593,7 @@ ash::AppListViewState AppListControllerImpl::GetAppListViewState() { ...@@ -593,6 +593,7 @@ ash::AppListViewState AppListControllerImpl::GetAppListViewState() {
} }
void AppListControllerImpl::OnShelfAlignmentChanged(aura::Window* root_window) { void AppListControllerImpl::OnShelfAlignmentChanged(aura::Window* root_window) {
if (!IsHomeScreenAvailable())
DismissAppList(); DismissAppList();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment