commit | 1142053fb7c68b8f8c7420cfdbe09ccb1abb9266 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Fri Nov 26 12:42:38 2021 +0000 |
committer | Santos Cordon <santoscordon@google.com> | Wed Jan 05 14:24:13 2022 +0000 |
tree | d58d97ff5915026b9747d0425fc678d84ceaa523 | |
parent | 5068021c27c2e888a5d1e5b650f1f4424c80b963 [diff] |
Treat changes in device-state as user-activity. PowerManager will now treat changes in the device state from DeviceStateManager as user-activity for the purposes of calculating idle timeouts. Bug: 199993642 Test: Check logs to verify that user-activity is updated when changing device states. Test: atest PowerManagerServiceMockingTest Change-Id: Ib5e543dd502d6b9b8ef1fef7e1b0f8a188f3cf1e