diff options
author | Robin Lee <rgl@google.com> | 2018-12-07 15:09:13 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2018-12-11 15:19:45 +0100 |
commit | c4d424c29a3352d2e38e4e25a9225ed3f359af23 (patch) | |
tree | 5fb735ab576cfa37ceaa16070705de4c8a447fa9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | af7deaba65fd18a8366356c3048bae2496c3563e (diff) |
Make DeviceIdle motion sensing flaggable-off
We will still go through the same routine as before, and in particular
a misconfigured phone without any motion sensors will still fail to
progress into full doze state.
With config_autoPowerModeUseMotionSensor overriden to false, this is not
true any more and we make STATE_SENSING a no-op that moves straight into
STATE_LOCATING as if we immediately got a "no motion" callback.
Bug: 110756616
Test: atest com.android.server.DeviceIdleControllerTest
Test: atest BatterySaverPolicyTest
Change-Id: I00d778c44257b3e3682494c0d3b10f4c3d68c382
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions