| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2017 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:title="@string/lockscreen_settings_title"> |
| |
| <PreferenceCategory |
| android:key="lockscreen_what_to_show" |
| android:title="@string/lockscreen_settings_what_to_show_category"> |
| <com.android.settings.RestrictedListPreference |
| android:key="security_setting_lock_screen_notif" |
| android:title="@string/lock_screen_notifications_title" |
| android:summary="@string/summary_placeholder" |
| settings:keywords="@string/keywords_lock_screen_notif"/> |
| |
| <SwitchPreferenceCompat |
| android:key="security_display_lockscreen_bypass" |
| android:title="@string/lockscreen_bypass_title" |
| android:summary="@string/lockscreen_bypass_summary" |
| settings:searchable="false" |
| settings:controller="com.android.settings.biometrics.face.FaceSettingsLockscreenBypassPreferenceController" /> |
| |
| <com.android.settingslib.RestrictedSwitchPreference |
| android:key="security_lockscreen_add_users_when_locked" |
| android:title="@string/user_add_on_lockscreen_menu" |
| settings:controller="com.android.settings.users.AddUserWhenLockedPreferenceController" /> |
| |
| <com.android.settingslib.RestrictedPreference |
| android:key="owner_info_settings" |
| android:title="@string/owner_info_settings_title" |
| android:summary="@string/owner_info_settings_summary" /> |
| |
| <SwitchPreferenceCompat |
| android:key="lockscreen_privacy_wallet_switch" |
| android:title="@string/lockscreen_privacy_wallet_setting_toggle" |
| android:summary="@string/lockscreen_privacy_wallet_summary" |
| settings:controller="com.android.settings.display.WalletPrivacyPreferenceController" /> |
| |
| <SwitchPreferenceCompat |
| android:key="lock_screen_show_qr_scanner" |
| android:title="@string/lockscreen_privacy_qr_code_scanner_setting_toggle" |
| android:summary="@string/lockscreen_privacy_qr_code_scanner_summary" |
| settings:controller="com.android.settings.display.QRCodeScannerPreferenceController" /> |
| |
| <SwitchPreferenceCompat |
| android:key="lockscreen_privacy_controls_switch" |
| android:title="@string/lockscreen_privacy_controls_setting_toggle" |
| android:summary="@string/lockscreen_privacy_controls_summary" |
| settings:controller="com.android.settings.display.ControlsPrivacyPreferenceController" /> |
| |
| <SwitchPreferenceCompat |
| android:key="lockscreen_trivial_controls_switch" |
| android:title="@string/lockscreen_trivial_controls_setting_toggle" |
| android:summary="@string/lockscreen_trivial_controls_summary" |
| settings:controller="com.android.settings.display.ControlsTrivialPrivacyPreferenceController"/> |
| |
| <Preference |
| android:key="customizable_lock_screen_quick_affordances" |
| android:title="@string/lockscreen_quick_affordances_title" |
| settings:controller="com.android.settings.display.CustomizableLockScreenQuickAffordancesPreferenceController" /> |
| |
| <SwitchPreferenceCompat |
| android:key="lockscreen_double_line_clock_switch" |
| android:title="@string/lockscreen_double_line_clock_setting_toggle" |
| android:summary="@string/lockscreen_double_line_clock_summary" |
| settings:controller="com.android.settings.display.LockscreenClockPreferenceController" /> |
| |
| <com.android.settings.support.SystemSettingSwitchPreference |
| android:key="hide_powermenu_lockscreen" |
| android:title="@string/hide_powermenu_lockscreen" |
| android:defaultValue="false" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="ambient_display_category_when_to_show" |
| android:title="@string/ambient_display_category_triggers" |
| settings:controller="com.android.settings.display.AmbientDisplayWhenToShowPreferenceController" |
| android:order="1000"> |
| |
| <com.android.settingslib.RestrictedSwitchPreference |
| android:key="ambient_display_always_on" |
| android:title="@string/doze_always_on_title" |
| android:summary="@string/doze_always_on_summary" |
| settings:keywords="@string/keywords_always_show_time_info" |
| settings:controller="com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController" |
| settings:userRestriction="no_ambient_display" /> |
| |
| <Preference |
| android:key="ambient_display_tap" |
| android:title="@string/ambient_display_tap_screen_title" |
| android:fragment="com.android.settings.gestures.TapScreenGestureSettings" |
| settings:searchable="false" |
| settings:controller="com.android.settings.gestures.TapScreenGesturePreferenceController" /> |
| |
| <Preference |
| android:key="ambient_display_double_tap" |
| android:title="@string/ambient_display_title" |
| android:fragment="com.android.settings.gestures.DoubleTapScreenSettings" |
| settings:searchable="false" |
| settings:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController" /> |
| |
| <Preference |
| android:key="ambient_display_pick_up" |
| android:title="@string/ambient_display_pickup_title" |
| android:fragment="com.android.settings.gestures.PickupGestureSettings" |
| settings:searchable="false" |
| settings:controller="com.android.settings.gestures.PickupGesturePreferenceController" /> |
| |
| <SwitchPreferenceCompat |
| android:key="ambient_display_notification" |
| android:title="@string/doze_title" |
| android:summary="@string/doze_summary" |
| settings:controller="com.android.settings.display.AmbientDisplayNotificationsPreferenceController" /> |
| |
| <Preference |
| android:key="doze_device_settings" |
| android:title="@string/ambient_display_screen_title" |
| settings:controller="com.android.settings.display.LineageDozePreferenceController"> |
| <intent android:action="org.lineageos.settings.device.DOZE_SETTINGS" /> |
| </Preference> |
| |
| </PreferenceCategory> |
| |
| <!-- Work profile settings are at the bottom with high order value to avoid users thinking that |
| any of the above settings (including dynamic) are specific to the work profile. --> |
| <PreferenceCategory |
| android:key="security_setting_lock_screen_notif_work_header" |
| android:title="@string/profile_section_header" |
| android:order="1001" |
| settings:searchable="false"> |
| |
| <com.android.settings.RestrictedListPreference |
| android:key="security_setting_lock_screen_notif_work" |
| android:title="@string/locked_work_profile_notification_title" |
| android:summary="@string/summary_placeholder" |
| settings:searchable="false"/> |
| |
| </PreferenceCategory> |
| |
| </PreferenceScreen> |