1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2011 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 android:key="location_settings"
20 android:title="@string/location_settings_title"
21 settings:keywords="@string/keywords_location">
24 android:key="location_mode"
25 android:title="@string/location_mode_title"
26 settings:keywords="@string/keywords_location_mode"
27 android:summary="@string/summary_placeholder" />
29 <!-- This preference category gets removed if there is no managed profile -->
30 <com.android.settingslib.RestrictedSwitchPreference
31 android:key="managed_profile_location_switch"
32 android:title="@string/managed_profile_location_switch_title"
33 settings:useAdminDisabledSummary="true"
34 android:enabled="false"
35 android:selectable="true" />
37 <!-- This preference category gets removed if new_recent_location_ui is disabled -->
39 android:key="app_level_permissions"
40 android:title="@string/location_app_level_permissions">
41 <intent android:action="android.intent.action.MANAGE_PERMISSION_APPS">
42 <extra android:name="android.intent.extra.PERMISSION_NAME"
43 android:value="android.permission-group.LOCATION" />
48 android:key="location_scanning"
49 android:title="@string/location_scanning_screen_title"
50 android:fragment="com.android.settings.location.ScanningSettings"/>
53 android:key="recent_location_requests"
54 android:title="@string/location_category_recent_location_requests" />
57 android:key="location_services"
58 android:title="@string/location_category_location_services" />