summaryrefslogtreecommitdiffstats
path: root/core/res/AndroidManifest.xml
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-04-14 14:44:11 -0700
committerSvetoslav <svetoslavganov@google.com>2015-04-14 14:44:15 -0700
commit7f24225e5e363613eb4f5027d07c32a9acf457f3 (patch)
tree93d12b577ff83d98b5b1f8b8a28d3ad76bac2273 /core/res/AndroidManifest.xml
parent317918e206b89f4a49bfa35af57607764f322347 (diff)
downloadframeworks_base-7f24225e5e363613eb4f5027d07c32a9acf457f3.zip
frameworks_base-7f24225e5e363613eb4f5027d07c32a9acf457f3.tar.gz
frameworks_base-7f24225e5e363613eb4f5027d07c32a9acf457f3.tar.bz2
Lower protection level of access mock location permission
The ACCESS_MOCK_LOCATION permission is gated by a secure setting toggled in developer options by the user. Hence, there is no need for getting yet another consent from the user for accessing it. Change-Id: Ica1a72f587a712d7da7c00cfc4a8ca228064286e
Diffstat (limited to 'core/res/AndroidManifest.xml')
-rw-r--r--core/res/AndroidManifest.xml19
1 files changed, 6 insertions, 13 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 3d22e52..100bae7 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -517,13 +517,6 @@
android:description="@string/permdesc_accessCoarseLocation"
android:protectionLevel="dangerous" />
- <!-- Allows an application to create mock location providers for testing. -->
- <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
- android:permissionGroup="android.permission-group.LOCATION"
- android:label="@string/permlab_accessMockLocation"
- android:description="@string/permdesc_accessMockLocation"
- android:protectionLevel="dangerous" />
-
<!-- ====================================================================== -->
<!-- Permissions for accessing the device telephony -->
<!-- ====================================================================== -->
@@ -734,12 +727,6 @@
<!-- =============================================================== -->
<eat-comment />
-
- <!-- =============================================================== -->
- <!-- Permissions for accessing the user dictionary -->
- <!-- =============================================================== -->
- <eat-comment />
-
<!-- Used for permissions that provide access to the user
calendar to create / view events.-->
<permission-group android:name="android.permission-group.USER_DICTIONARY"
@@ -848,6 +835,12 @@
android:protectionLevel="signature|system" />
<uses-permission android:name="android.permission.LOCATION_HARDWARE"/>
+ <!-- Allows an application to create mock location providers for testing. -->
+ <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
+ android:label="@string/permlab_accessMockLocation"
+ android:description="@string/permdesc_accessMockLocation"
+ android:protectionLevel="normal" />
+
<!-- ======================================= -->
<!-- Permissions for accessing networks -->
<!-- ======================================= -->