summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCalin Tataru <calintat@google.com>2018-08-09 16:41:28 +0200
committerCalin Tataru <calintat@google.com>2018-08-13 11:39:28 +0000
commita380572cf651a49a73e1db59e489052c524e0a24 (patch)
tree7cb992e21530ec848bb89cde7e97c70b4ae6e7f7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf989a15ed89774ec40ec2562541806212a70e526 (diff)
Keep track of the last sleep reason
This is needed to implement Doze for Android TV. The DeviceIdleController needs to know whether the screen turned off due to a timeout and adjust its own timeouts accordingly. This is particularly important if the screen off timeout is longer than 30 minutes which is how long the DeviceIdleController normally waits before going from STATE_INACTIVE to STATE_IDLE_PENDING. Test: make -j Bug: 111443261 Change-Id: Icd6a7ba43077fed3ac6ac9f77b5a017c42138337
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions