diff options
author | Sudheer Shanka <sudheersai@google.com> | 2021-02-16 02:42:18 -0800 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2021-02-19 04:09:10 -0800 |
commit | 2c84695b716699a9da5f7a20f6098b56da007e52 (patch) | |
tree | 1a31fcb81cc27095633a2d253152a39aa670f32d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e7dfae7e7b9aa85e4efe3e99347ab1631bfbe999 (diff) |
Add new network process capability.
- Introduce network capability which allows apps to access network
despite power restrictions.
- Update NPMS to allow apps network access only if they are in a
higher proc_state or they are hodling the new network capability.
Bug: 177641226
Test: atest ./services/tests/servicestests/src/com/android/server/net/NetworkPolicyManagerServiceTest.java
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Change-Id: Ia411ddef2e8cb77d371c22262d5b1e06a0396e29
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions