Descriptioncros: stop forcing off display when powerd reports SuspendDone
Changes:
As title: stop forcing off display when powerd reports SuspendDone for
convertible/tablet device. There can be edge case that "system suspends
with backlights forced off, and then user presses power button, which
will resume system, but this power button event is not delivered to
Chrome. When powerd reports SuspendDone, we can do stopping forcing off
anyway to prevent this kind of edge case.
R=derat@chromium.org
BUG=735291
TEST=added test coverage
TabletPowerButtonControllerTest.SuspendDoneStopsForcingOff
Review-Url: https://codereview.chromium.org/2946233003
Cr-Commit-Position: refs/heads/master@{#481617}
Committed: https://chromium.googlesource.com/chromium/src/+/be4e46518a93692f402a69363bcaab66ae11b1e3
Patch Set 1 #
Total comments: 6
Patch Set 2 : nits #
Messages
Total messages: 9 (4 generated)
|