blob: dd4ac346543afe939210d18b354f831d9b65ecd4 [file] [log] [blame]
Fan Zhanga6810942017-11-03 15:43:53 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2017 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
18<PreferenceScreen
19 xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070020 xmlns:settings="http://schemas.android.com/apk/res-auto"
Fan Zhanga6810942017-11-03 15:43:53 -070021 android:key="security_settings_password_sub_screen"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070022 android:title="@string/unlock_set_unlock_launch_picker_title"
23 settings:searchable="false">
Fan Zhanga6810942017-11-03 15:43:53 -070024
25 <!-- available in pattern -->
26 <SwitchPreference
27 android:key="visiblepattern"
28 android:title="@string/lockpattern_settings_enable_visible_pattern_title" />
29
30 <!-- available in pin/pattern/password -->
Doris Ling30692042018-06-22 14:38:25 -070031 <com.android.settings.display.TimeoutListPreference
Fan Zhanga6810942017-11-03 15:43:53 -070032 android:key="lock_after_timeout"
33 android:title="@string/lock_after_timeout"
34 android:summary="@string/summary_placeholder"
35 android:entries="@array/lock_after_timeout_entries"
36 android:entryValues="@array/lock_after_timeout_values" />
37
38 <!-- available in pin/pattern/password -->
39 <SwitchPreference
40 android:key="power_button_instantly_locks"
41 android:title="@string/lockpattern_settings_enable_power_button_instantly_locks" />
42
Vishwath Mohanb6dad932018-12-11 11:59:01 -080043</PreferenceScreen>