Commit ee5b3ccf authored by minch's avatar minch Committed by Commit Bot

Add tablet mode check for IsHomeScreenVisible.

Bug: 1002733
Change-Id: I97b7ba270f2df51c0a433d3ba0320e33ef3dc94b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1861019Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705992}
parent f2a7bb6c
...@@ -1501,7 +1501,7 @@ void AppListControllerImpl::NotifyHomeLauncherAnimationTransition( ...@@ -1501,7 +1501,7 @@ void AppListControllerImpl::NotifyHomeLauncherAnimationTransition(
} }
bool AppListControllerImpl::IsHomeScreenVisible() { bool AppListControllerImpl::IsHomeScreenVisible() {
return IsVisible(); return IsTabletMode() && IsVisible();
} }
} // namespace ash } // namespace ash
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