Move all UDFPS Settings to separate menu for ease of removal for non-udfps devices Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
100 lines
3.9 KiB
XML
100 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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"
|
|
android:title="@string/lockscreen_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/lockscreen_gesture_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="double_tap_sleep_lockscreen"
|
|
android:title="@string/double_tap_to_sleep_lockscreen_title"
|
|
android:summary="@string/double_tap_to_sleep_lockscreen_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="doze_pulse_on_double_tap"
|
|
android:title="@string/double_tap_on_doze_to_wake_title"
|
|
android:summary="@string/double_tap_on_doze_to_wake_summary"
|
|
android:defaultValue="true" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<Preference
|
|
android:key="always_on_display_schedule"
|
|
android:title="@string/always_on_display_schedule_title"
|
|
android:fragment="com.cherish.settings.fragments.AODSchedule" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_battery_info"
|
|
android:title="@string/lockscreen_battery_info_title"
|
|
android:summary="@string/lockscreen_battery_info_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<PreferenceCategory
|
|
android:key="lockscreen_media_category"
|
|
android:title="@string/lockscreen_media_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_media_metadata"
|
|
android:title="@string/media_art_title"
|
|
android:summary="@string/media_art_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="lockscreen_albumart_filter"
|
|
android:title="@string/lockscreen_albumart_filter_title"
|
|
android:entries="@array/lockscreen_albumart_filter_entries"
|
|
android:entryValues="@array/lockscreen_albumart_filter_values"
|
|
android:dependency="lockscreen_media_metadata"
|
|
android:defaultValue="0" />
|
|
|
|
<!-- Pulse music visualizer -->
|
|
<Preference
|
|
android:key="pulse_settings"
|
|
android:title="@string/pulse_settings"
|
|
android:summary="@string/pulse_settings_summary"
|
|
android:fragment="com.cherish.settings.fragments.sound.PulseSettings" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<!-- <PreferenceCategory
|
|
android:key="lockscreen_category"
|
|
android:title="@string/ls_category">
|
|
|
|
<Preference
|
|
android:key="lockscreen_shortcuts"
|
|
android:fragment="com.cherish.settings.fragments.LockscreenShortcuts"
|
|
android:title="@string/lockscreen_shortcuts"
|
|
android:summary="@string/ls_shortcut_summary" />
|
|
|
|
</PreferenceCategory> -->
|
|
|
|
<PreferenceCategory
|
|
android:key="udfps_category"
|
|
android:title="@string/udfps_category">
|
|
|
|
<Preference
|
|
android:key="udfps_settings"
|
|
android:title="@string/udfps_settings_title"
|
|
android:summary="@string/udfps_settings_summary"
|
|
android:fragment="com.cherish.settings.fragments.UdfpsSettings" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|