Injected location services and location access status are shown for managed profiles on Settings > Location Bug: 18602878 Change-Id: Ic6232f3dc03d9675b90fbfd0163fe5bae4bd13c6
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:key="location_settings"
|
|
android:title="@string/location_settings_title"
|
|
settings:keywords="@string/keywords_location">
|
|
|
|
<Preference
|
|
android:key="location_mode"
|
|
android:title="@string/location_mode_title"
|
|
settings:keywords="@string/keywords_location_mode"
|
|
android:summary="@string/location_mode_location_off_title" />
|
|
|
|
<!-- This preference category gets removed if there is no managed profile -->
|
|
<PreferenceCategory
|
|
android:key="managed_profile_location_category"
|
|
android:title="@string/managed_profile_location_category">
|
|
|
|
<Preference
|
|
android:key="managed_profile_location_switch"
|
|
android:title="@string/managed_profile_location_switch_title"
|
|
android:summary="@string/managed_profile_location_switch_lockdown"
|
|
android:persistent="false"
|
|
android:enabled="false"
|
|
android:selectable="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="recent_location_requests"
|
|
android:title="@string/location_category_recent_location_requests" />
|
|
|
|
<PreferenceCategory
|
|
android:key="location_services"
|
|
android:title="@string/location_category_location_services" />
|
|
|
|
</PreferenceScreen>
|