diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-09-01 12:30:47 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2011-09-01 12:30:47 -0700 |
commit | cccdd721e95bff5f964ea6fdf389c1f740a03702 (patch) | |
tree | 36cd4be241575b081d0764b2696e8a674bd52be0 /core/res | |
parent | ec8917dccb5a3923458c435f6356b9c1a7975370 (diff) | |
download | frameworks_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')
-rw-r--r-- | core/res/AndroidManifest.xml | 2 |
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" /> |