summaryrefslogtreecommitdiff
path: root/packages/VpnDialogs
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2019-08-12 16:25:11 +0800
committerpaulhu <paulhu@google.com>2019-12-04 11:45:51 +0800
commita6af6b6c2aafa54bf3b9dc9d7c162ab43f470b62 (patch)
tree8dc8f4c5f3457d8abe49fef634ea7c452fd69ffb /packages/VpnDialogs
parentc751dfc630243a2189ee7b2539d4ab3ef50dc743 (diff)
Replace the permission of internal connectivity checks
A number of connectivity checks that protect system-only methods check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a signature|privileged permission. We should audit the permission checks, and convert checks that protect code that should not be called outside the system to a signature permission. So replace all CONNECTIVITY_INTERNAL to other proper permissions. Bug: 32963470 Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest Change-Id: I8f2dd1cd0609056494eaf612d39820e273ae093f
Diffstat (limited to 'packages/VpnDialogs')
-rw-r--r--packages/VpnDialogs/AndroidManifest.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/VpnDialogs/AndroidManifest.xml b/packages/VpnDialogs/AndroidManifest.xml
index 469bdc69c78a..e4de6259e07d 100644
--- a/packages/VpnDialogs/AndroidManifest.xml
+++ b/packages/VpnDialogs/AndroidManifest.xml
@@ -21,7 +21,6 @@
<uses-permission android:name="android.permission.CONTROL_VPN" />
<uses-permission android:name="android.permission.CONTROL_ALWAYS_ON_VPN" />
- <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
<uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/>
<application android:label="VpnDialogs"