Show different titles and description messages when enrolling password under various conditions: * personal lock verus work lock * adding a new lock versus updating existing lock * enrolling a PIN verus password versus pattern Add icons to options in screen lock picker. Add an option to redirect to work lock flow if the admin has set device-wide password requirement. Bug: 183922696 Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.password Change-Id: I40417b113814659d3226a44eb7f9d553386e3c58
		
			
				
	
	
		
			76 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!-- Copyright (C) 2008 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-auto"
 | |
|         android:key="lock_settings_picker">
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_off"
 | |
|             android:title="@string/unlock_set_unlock_off_title"
 | |
|             android:icon="@drawable/ic_lock_none"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_none"
 | |
|             android:title="@string/unlock_set_unlock_none_title"
 | |
|             android:icon="@drawable/ic_lock_swipe"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_pattern"
 | |
|             android:title="@string/unlock_set_unlock_pattern_title"
 | |
|             android:icon="@drawable/ic_pattern"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_pin"
 | |
|             android:title="@string/unlock_set_unlock_pin_title"
 | |
|             android:icon="@drawable/ic_lock_pin"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_password"
 | |
|             android:title="@string/unlock_set_unlock_password_title"
 | |
|             android:icon="@drawable/ic_password"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_set_managed"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_skip_fingerprint"
 | |
|             android:title="@string/fingerprint_unlock_skip_fingerprint"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|             android:key="unlock_skip_face"
 | |
|             android:title="@string/face_unlock_skip_face"
 | |
|             android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.RestrictedPreference
 | |
|         android:key="unlock_skip_biometrics"
 | |
|         android:title="@string/biometrics_unlock_skip_biometrics"
 | |
|         android:persistent="false"/>
 | |
| 
 | |
|     <com.android.settingslib.widget.FooterPreference
 | |
|             android:key="lock_settings_footer"
 | |
|             android:selectable="false"
 | |
|             settings:searchable="false"/>
 | |
| 
 | |
| </PreferenceScreen>
 |