diff options
author | Felipe Leme <felipeal@google.com> | 2016-02-26 10:28:41 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2016-02-26 13:37:21 -0800 |
commit | a9505cc39b770a1ee4524d05efb859a9500d892f (patch) | |
tree | 15308e58aef6c613af9ffd457258fd42f6922313 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 262887834c7938b7a7bbbd7ef026b5965d6412fc (diff) |
Add pre-defined apps to the restrict background whitelist.
System config can defined apps to be automatically whitelisted for
restricted background data, but the user can remove the whitelist.
Implementation-wise, NPMS now keeps a list of
<revoked-restrict-background> UIDs in the netpolicy.xml file, and when
it starts it compares the UIDs returned by SystemConfig against this
list, and only whitelist them if they are not revoked. The
revoked-restrict-background is then updated as users change the
whitelist status of UIDs.
BUG: 27366993
Change-Id: I427024fd058924fc9831e409da6636e1bf8e4219
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions