-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ash: Start pre-shutdown animation if long press power button
when menu is already shown. - Don't dismiss the menu if pressing power button when menu is already shown. Wait for 650ms to start the pre-shutdown animation and request focus for 'power off' item instead. - Turn screen off for convertible device / in tablet mode if "ModeSpecificPowerButton" is set when menu is not fully shown or second press before starting the pre-shutdown animation. Test=PowerButtonControllerTest* Bug: 826057 Change-Id: I1f906e2bcf5d91960180742bf558c00784fbaa1e Reviewed-on: https://chromium-review.googlesource.com/1011590 Commit-Queue: Min Chen <minch@chromium.org> Reviewed-by: Qiang Xu <warx@google.com> Reviewed-by: Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#550785}
- Loading branch information
Min Chen
authored and
Commit Bot
committed
Apr 13, 2018
1 parent
dac26ab
commit b432b7c
Showing
3 changed files
with
95 additions
and
13 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