diff options
author | Kweku Adams <kwekua@google.com> | 2020-02-11 17:32:54 -0800 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-02-12 11:52:28 -0800 |
commit | f35ed37018c58d1eb0d8c49cc5c6f7538a373c07 (patch) | |
tree | 8d94aa090feca483e5a242ff01b2ec1153a70dde /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 223c27ef69c3c41b60971142fc2b9479f8167bcc (diff) |
Make apps active when charging.
This undoes part of the work to remove parole windows from
AppStandbyController. In the past, UsageStatsManager.isAppInactive would
return false when the device was charging. This wasn't documented
behavior, but was intentional, so removing it was the wrong thing to do.
I've updated the documentation to explicitly call out the behavior and
added it back so that the behavior is consistent with previous versions.
Bug: 148988544
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Test: atest AppIdleHistoryTests
Test: atest AppStandbyControllerTests
Change-Id: If5cad80b693a1e043ae64b8206e28abb60f83853
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions