commit | 93cf3e34e2acc5406f7910b9b07ea23f6ac1d57c | [log] [tgz] |
---|---|---|
author | Tej Singh <singhtejinder@google.com> | Thu Dec 07 13:05:38 2017 -0800 |
committer | Tej Singh <singhtejinder@google.com> | Thu Dec 07 18:17:32 2017 -0800 |
tree | 2c50247960a4ca7132d15c5d61951040ecf19479 | |
parent | f92ace0a22958ec7a0f48b1a7544f173651cd37b [diff] |
Bug fix for device idle mode light Before, 'adb shell dumpsys deviceidle force-idle light' would always fail because it would call stepIdleStateLocked, which does not affect mLightState. It now calls stepLightIdleStateLocked, which modifies mLightState andputs the device in doze mode light. Test: ran 'adb shell dumpsys deviceidle force-idle light' and verified device entered doze mode light. Change-Id: If8e6a1a0355c71c01727cdc64fa8e2ac82203e98