diff options
author | Scott Mertz <scott@cyngn.com> | 2016-02-15 13:58:18 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-16 12:03:13 -0800 |
commit | 32bcedfcf42a7e145abe44528ada47c4151eb570 (patch) | |
tree | 77d6fde08f3e9cfbfe7f2d8a0f5e8afaa8d9e66d /packages/SystemUI/src | |
parent | 4bf3ac7c799b655583288cb21f9232d8fc93a2dd (diff) | |
download | frameworks_base-32bcedfcf42a7e145abe44528ada47c4151eb570.zip frameworks_base-32bcedfcf42a7e145abe44528ada47c4151eb570.tar.gz frameworks_base-32bcedfcf42a7e145abe44528ada47c4151eb570.tar.bz2 |
DreamManager: only notify power manager if lid state changes
In the case where the device is in landscape mode with a lockscreen
and the user presses the power button, PhoneWindowManager will update
it's configuration and eventually update the lid state. If the lid
state is LID_OPEN, the doze override is reset in power manager. This
causes the requested screen state to be STATE_UNKNOWN. If the requested
screen state is STATE_UNKNOWN while in doze mode, the screen state will
be set to doze. This causes the display backlight to be left on at
the doze mode intensity.
OPO-439 CYNGNOS-1701
Change-Id: Ib1cda5c7c30fc20f1a5c532d6b70478a46b22121
Diffstat (limited to 'packages/SystemUI/src')
0 files changed, 0 insertions, 0 deletions