summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-06-16 17:45:32 +0800
committerlucaslin <lucaslin@google.com>2021-06-16 17:45:32 +0800
commit010a8e066726b52197fad503f86891da3f827f6b (patch)
treefbedef002c1c1a33c29a9390cf781c1493f35fd9 /core/java/android/util/SparseArrayMap.java
parente6510baf3bd6b948dff25aae1c997670a68ae392 (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 Change-Id: Iba7321c82e1a3ed773f99ccd4b9e3c24c607353f
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions