diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-04-24 19:28:20 -0700 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-04-25 03:58:51 +0000 |
commit | eb970d77ab6dd3ff981bb38b0d0ee8051e0d2381 (patch) | |
tree | 35b8062fefe9356f6e9d53720459155a7295c85f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 42a5a8deecd5cecfd59cae5b0055909399738370 (diff) |
Add privapp permissions to network modules.
When built as part of the system, the network stack and the
captive portal login app should have the BYPASS_PRIVATE_DNS
and CONNECTIVITY_USE_RESTRICTED_NETWORKS permissions.
These are necessary to validate restricted networks, bypass VPNs,
bypass private DNS for captive portal login, etc. Add these
permissions to privapp-permissions-platform.xml.
When installed as mainline modules that cannot use signature
permissions, the modules get this ability by virtue of having the
MAINLINE_NETWORK_STACK permissions.
Additionally, add the CONNECTIVITY_USE_RESTRICTED_NETWORKS
permission to the captive portal login app manifest, which did
not contain it.
Bug: 129789428
Test: builds, boots
Test: dumpsys package shows permissions
Change-Id: I632359f7eff09fed71167733ac75824a5aa57894
Merged-In: I632359f7eff09fed71167733ac75824a5aa57894
(cherry picked from commit 109dbf9c05f325d6f8298ffa81b9e90668fddaf3)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions