summaryrefslogtreecommitdiffstats
path: root/core/res/AndroidManifest.xml
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-09-01 12:30:47 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-09-01 12:30:47 -0700
commitcccdd721e95bff5f964ea6fdf389c1f740a03702 (patch)
tree36cd4be241575b081d0764b2696e8a674bd52be0 /core/res/AndroidManifest.xml
parentec8917dccb5a3923458c435f6356b9c1a7975370 (diff)
downloadframeworks_base-cccdd721e95bff5f964ea6fdf389c1f740a03702.zip
frameworks_base-cccdd721e95bff5f964ea6fdf389c1f740a03702.tar.gz
frameworks_base-cccdd721e95bff5f964ea6fdf389c1f740a03702.tar.bz2
Make WRITE_APN_SETTINGS a system-only permission.
Protects us from apps getting packet snooping ability (ie, routing all your traffic through their server by modifing your APN settings). We may eventually revert this if/when we have time to provide a proper API and scary UI like VPN has. bug:5242750 Change-Id: I71d73807ca5268c6aacc2156839b4d11427048c4
Diffstat (limited to 'core/res/AndroidManifest.xml')
-rw-r--r--core/res/AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 01f2a8f..f50cecd 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -920,7 +920,7 @@
<!-- Allows applications to write the apn settings -->
<permission android:name="android.permission.WRITE_APN_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
- android:protectionLevel="dangerous"
+ android:protectionLevel="signatureOrSystem"
android:description="@string/permdesc_writeApnSettings"
android:label="@string/permlab_writeApnSettings" />