summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2017-11-27 10:44:24 -0800
committerAmith Yamasani <yamasani@google.com>2017-12-01 14:00:37 -0800
commitafbccb7d37647f6da61ebcc52a598c7a9f54bc3f (patch)
tree845f2eb7b6a7be5a61e85d7cdc0b65af9bcfe54c /tools/aapt2/java/JavaClassGenerator.cpp
parent577e40090282638cb2df5ba4738f4ba1030a2c53 (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.cpp')
0 files changed, 0 insertions, 0 deletions