Merge "Add UI to Settings > Location for Managed Profile Location Control"
This commit is contained in:
committed by
Android (Google) Code Review
commit
70b49b1b70
@@ -2783,8 +2783,6 @@
|
||||
|
||||
<!-- Security & location settings screen, section header for settings relating to location -->
|
||||
<string name="location_title">My Location</string>
|
||||
<!-- Title for managed profile preference category [CHAR_LIMIT=25] -->
|
||||
<string name="managed_profile_location_category">Work profile</string>
|
||||
<!-- [CHAR LIMIT=30] Title for managed profile location switch -->
|
||||
<string name="managed_profile_location_switch_title">Location for work profile</string>
|
||||
<!-- [CHAR LIMIT=30] Text to show on managed profile location switch if MDM has locked down location access for managed profile-->
|
||||
|
@@ -27,19 +27,13 @@
|
||||
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>
|
||||
<SwitchPreference
|
||||
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="true" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="recent_location_requests"
|
||||
|
Reference in New Issue
Block a user