summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-01-14 16:16:16 -0800
committerFelipe Leme <felipeal@google.com>2016-01-20 13:10:10 -0800
commitb85a637eac7714dcbbcf179ef38e5edc11557b78 (patch)
tree024616478c8c9c005be9a0ab4cf9efefd9e95473 /tools/aapt2/java/JavaClassGenerator.cpp
parent659133c77b80405c3696ddb670ef7f67f0c96a3f (diff)
Added API to whitelist apps for background restriction.
The new APIs are: void addRestrictBackgroundWhitelistedUid(int uid); void removeRestrictBackgroundWhitelistedUid(int uid); int[] getRestrictBackgroundWhitelistedUids(); The whitelist is persisted in the same XML used for the other policies, using the new 'whitelist and 'restrict-background' tags. Examples: 3 whitelisted apps: <whitelist> <restrict-background uid="10001" /> <restrict-background uid="10009" /> <restrict-background uid="10086" /> </whitelist> No whitelisted app: <whitelist /> BUG: 26451391 Change-Id: I01b114c346fd8abc05433ad43d010379384f8c2b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions