diff options
author | Amith Yamasani <yamasani@google.com> | 2018-04-27 10:02:57 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2018-04-27 10:53:58 -0700 |
commit | 4cb4257e5849cf1e312640820dec6141f02f4b95 (patch) | |
tree | 949f049e592571b7f7e8691790442b74e21d7434 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7a7b2369fe999c8ad9712eadafcbbc31b695daa6 (diff) |
Don't exit doze-light on motion event
This fixes an unintended exit from doze-light when a motion
event occurs. This happens when the device is sensing for
motion when waiting to enter doze-full.
The fix avoids exiting doze-light on a motion event, but
does continue to reset the doze-full state.
Bug: 78454609
Test: cmd deviceidle step light (once or twice to get to IDLE)
cmd deviceidle step
cmd deviceidle motion
Check batterystats history for device_idle. Should
stay in "light"
Change-Id: If4daca349f48d54482d679b2854184e5a6780647
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions