summaryrefslogtreecommitdiffstats
path: root/res/xml/development_prefs.xml
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-05-13 10:39:35 -0700
committerSvetoslav <svetoslavganov@google.com>2015-05-13 15:45:03 -0700
commit02e65a181ae3b8b757b520f599b2678d06ce0c2f (patch)
tree30b0354d16a68b666eaf6fbf3fbb7833b83ed617 /res/xml/development_prefs.xml
parent0c3d8f1c0f869f5faa4b828e118f8717c8f77d40 (diff)
downloadpackages_apps_Settings-02e65a181ae3b8b757b520f599b2678d06ce0c2f.zip
packages_apps_Settings-02e65a181ae3b8b757b520f599b2678d06ce0c2f.tar.gz
packages_apps_Settings-02e65a181ae3b8b757b520f599b2678d06ce0c2f.tar.bz2
Access mock location is no longer a runtime permission - settings
The access mock location is no longer a runtime permission. It is a signature protected one that apps cannot get but the fact they request it means they want to inject location into the system. Now the user gets to choose the current mock location app in developer options from the apps that request the mock location permission. The access to mock location is no longer guarded by the permisson but from a new app op which is off by default and the settiings UI sets it to enabled only for the currently selected mock location app. bug:21078873 Change-Id: I6555179ecf0cc37d9bb857e9dfb3b04c091ea612
Diffstat (limited to 'res/xml/development_prefs.xml')
-rw-r--r--res/xml/development_prefs.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 39866c9..32c96c1 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -86,10 +86,8 @@
android:title="@string/bugreport_in_power"
android:summary="@string/bugreport_in_power_summary"/>
- <SwitchPreference
- android:key="allow_mock_location"
- android:title="@string/allow_mock_location"
- android:summary="@string/allow_mock_location_summary"/>
+ <PreferenceScreen android:key="mock_location_app"
+ android:title="@string/mock_location_app" />
<SwitchPreference
android:key="debug_view_attributes"