commit | d8611ecd360cce2b16372c6c0b29540b98929e43 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Wed May 16 16:39:42 2018 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Wed May 16 16:53:58 2018 -0700 |
tree | 70ff63e3bf90c5ea9396185ef64696566dbedd4c | |
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