diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-05-16 16:39:42 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-05-16 16:53:58 -0700 |
commit | d8611ecd360cce2b16372c6c0b29540b98929e43 (patch) | |
tree | 70ff63e3bf90c5ea9396185ef64696566dbedd4c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b504a2f65b70b9baa319cd97693c9c94a602890c (diff) |
Added a command to return app_standby_enabled
The only way to know the runtime state was check dumpsys usagestats, and
parse through a lot of output.
This makes it easier to retreive the state.
Test: adb shell settings put global app_standby_enabled 0
adb shell dumpsys usagestats is-app-standby-enabled
Bug: 74336662
Change-Id: Ibe80d27bdf940682b9e4c3c14f93b4871f9f1746
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions