This changes the organization of lock screen security settings to make choosing an alternate unlock method more discoverable. Instead of having to disable the old lock method to use a new one, the user now just has one set/change option in lock settings, with a list of method-specific setting below it. In addition, we ask the user to confirm their old credentials before prompting them to choose a new one, which eliminates one source of confusion. Also, ChooseLockGeneric now shows a UI if quality isn't specified. Any unlock method less secure than minimum specified by DevicePolicyManager (if active) is greyed out. Change-Id: Iecc6f64d4d3368a583f06f8d5fe9655cc3d5bd3b
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2010 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">
|
|
|
|
<PreferenceCategory
|
|
android:key="security_category"
|
|
android:title="@string/lock_settings_title">
|
|
|
|
<PreferenceScreen
|
|
android:key="unlock_set_or_change"
|
|
android:title="@string/unlock_set_unlock_launch_picker_change_title"
|
|
android:summary="@string/unlock_set_unlock_launch_picker_change_summary"
|
|
android:persistent="false"/>
|
|
|
|
<CheckBoxPreference
|
|
android:key="visiblepattern"
|
|
android:title="@string/lockpattern_settings_enable_visible_pattern_title"/>
|
|
|
|
<CheckBoxPreference
|
|
android:key="unlock_tactile_feedback"
|
|
android:title="@string/lockpattern_settings_enable_tactile_feedback_title"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|