summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLucas Lin <lucaslin@google.com>2021-06-22 03:16:30 +0000
committerLucas Lin <lucaslin@google.com>2021-06-22 05:46:59 +0000
commitfbc5d5d58839f4513e99f00db3c1157b235a41bc (patch)
treeccc02d462bff4a1144a534c4e1201429cfbf4237 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcc057784c124e900bb2158df050b9f88acd93c15 (diff)
Add OBSERVE_NETWORK_POLICY for shell to test CTS
Both of NetworkPolicyManager#isUidNetworkingBlocked() and NetworkPolicyManager#isUidRestrictedOnMeteredNetworks() are required OBSERVE_NETWORK_POLICY but OBSERVE_NETWORK_POLICY is a signature permission that CTS cannot acquire. So add this permission for shell and call these 2 APIs with shell identity to fix the problem. Bug: 176289731 Test: atest CtsHostsideNetworkTests:HostsideNetworkPolicyManagerTests Original-Change: https://android-review.googlesource.com/1737413 Merged-In: Iba7321c82e1a3ed773f99ccd4b9e3c24c607353f Change-Id: Iba7321c82e1a3ed773f99ccd4b9e3c24c607353f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions