summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2018-02-21 20:06:14 -0800
committerSuprabh Shukla <suprabh@google.com>2018-02-27 16:48:25 -0800
commit4d64c093cd785e7a53fafe1aaf796ed734d61a02 (patch)
tree5f02b2cd2488164df593cd99c29bf6af0311d205 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf3537c2054e4bfd627dd488e25564e07fb4009da (diff)
Added an api to query ForcedAppStandby state
Adding an api which apps can query to check if the user has put them into forced app standby. An app may want to do this to manage expectations for any jobs or alarms it schedules. It can also be used as an indication that the user noticed unreasonable battery consumption attributed to the app. Test: atest android.app.cts.ActivityManagerTest#testIsBackgroundRestricted Bug: 73664209 Change-Id: I870f6c852c500769d3bf99d5a9ba3bf4eb1b65f5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions