blob: 174e5c2cfad3fc21ca714b6443fb287ddd0d3c4e [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhang74c61d12017-11-17 16:49:54 -080018 xmlns:settings="http://schemas.android.com/apk/res-auto"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080019 android:title="@string/sim_lock_settings">
PauloftheWestac5c0812014-11-17 12:47:38 -080020
21 <SwitchPreference
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080022 android:key="sim_toggle"
23 android:title="@string/sim_pin_toggle"
24 android:summaryOn="@string/sim_lock_on"
25 android:summaryOff="@string/sim_lock_off"/>
Fabrice Di Meglio9e041f02014-07-28 17:54:30 -070026
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080027 <com.android.settings.EditPinPreference
28 android:key="sim_pin"
Gustaf Nilklint83fc19d2010-12-06 10:21:13 +010029 android:dependency="sim_toggle"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080030 android:title="@string/sim_pin_change"
31 android:dialogTitle="@string/sim_change_pin"
32 android:dialogMessage="@string/sim_enter_old"
33 android:positiveButtonText="@string/sim_enter_ok"
Pengquan Menga39613c2018-03-08 19:44:27 -080034 android:negativeButtonText="@string/sim_enter_cancel"
35 android:persistent="false"/>
Fabrice Di Meglio9e041f02014-07-28 17:54:30 -070036
37</PreferenceScreen>