-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cros: Fix rounded corners on shelf on first tablet mode startup
Since CL 1737730, AppList visibility is now correct in tablet mode. After this change, bugs have surfaced with the shelf background. To fix this, modify HomeLauncherGestureHandler so we no longer notify observers that the animation has completed before clearing state. The specific issue was that HomeLauncherGestureHandler::IsDragInProgress returns true when observers are notified of home launcher animation completion. So, fix this, then check HomeLauncherGestureHandler::IsDragInProgress to more accurately determine the proper shelf background. Also check for widget visibility, not activation, because the widget is not activated in tablet mode when shown. Bug: 990995 Change-Id: I560a6db4c045dbbc802f18b43266e2c1f2f19e1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746915 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Sammie Quon <sammiequon@chromium.org> Commit-Queue: Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#687306}
- Loading branch information
Alex Newcomer
authored and
Commit Bot
committed
Aug 15, 2019
1 parent
fa7c3b0
commit 45822db
Showing
4 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters