diff options
author | Amith Yamasani <yamasani@google.com> | 2017-11-27 10:44:24 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2017-12-01 14:00:37 -0800 |
commit | afbccb7d37647f6da61ebcc52a598c7a9f54bc3f (patch) | |
tree | 845f2eb7b6a7be5a61e85d7cdc0b65af9bcfe54c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 577e40090282638cb2df5ba4738f4ba1030a2c53 (diff) |
Expose App Standby APIs for apps and system
Allow apps to query their own standby bucket.
Allow privileged apps with PACKAGE_USAGE_STATS permission to
query apps.
Allow privileged apps with CHANGE_APP_IDLE_STATE to set the
standby state for apps, but not for themselves.
Removed AppStandby class and moved constants into UsageStatsManager.
Bug: 63527785
Test: cts-tradefed run cts-dev -m CtsAppUsageHostTestCases
Change-Id: I3c1c20f6ecb6d54e248233696039286b243d663c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions