Add padlock to location for work profile when disabled by admin.
Change-Id: Iee930c9340436cc68ee432ad15ec182ccc6fb0a1
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
android:summary="@string/location_mode_location_off_title" />
|
||||
|
||||
<!-- This preference category gets removed if there is no managed profile -->
|
||||
<SwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="managed_profile_location_switch"
|
||||
android:title="@string/managed_profile_location_switch_title"
|
||||
android:summary="@string/managed_profile_location_switch_lockdown"
|
||||
settings:useAdminDisabledSummary="true"
|
||||
android:persistent="false"
|
||||
android:enabled="false"
|
||||
android:selectable="true" />
|
||||
|
||||
Reference in New Issue
Block a user