blob: 1a063d168a58039d774843dc48c4e2b68e3ba36b [file] [log] [blame]
Patrick Lowerc8668b22015-05-11 16:14:17 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2015 The CyanogenMod Project
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -07004
Patrick Lowerc8668b22015-05-11 16:14:17 -04005 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
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -07008
Patrick Lowerc8668b22015-05-11 16:14:17 -04009 http://www.apache.org/licenses/LICENSE-2.0
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070010
Patrick Lowerc8668b22015-05-11 16:14:17 -040011 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<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070019 <PreferenceCategory
20 android:key="ambient_display_key"
Abhisek Devkotaf62a1872016-11-23 18:13:45 -080021 android:title="@string/ambient_display_title">
Patrick Lowerc8668b22015-05-11 16:14:17 -040022
Arne Coucheron2f553362017-10-14 08:21:29 +020023 <lineageos.preference.SecureSettingSwitchPreference
Zhao Wei Liewb48065a2016-10-13 18:33:52 +080024 android:key="doze_enabled"
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070025 android:defaultValue="true"
26 android:title="@string/ambient_display_enable_title"
27 android:summary="@string/ambient_display_enable_summary" />
Patrick Lowerc8668b22015-05-11 16:14:17 -040028
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070029 <SwitchPreference
30 android:key="gesture_hand_wave"
31 android:defaultValue="false"
32 android:title="@string/hand_wave_gesture_title"
Zhao Wei Liewb48065a2016-10-13 18:33:52 +080033 android:summary="@string/hand_wave_gesture_summary"
34 android:dependency="doze_enabled" />
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070035
36 <SwitchPreference
37 android:key="gesture_pocket"
38 android:defaultValue="false"
39 android:title="@string/pocket_gesture_title"
Zhao Wei Liewb48065a2016-10-13 18:33:52 +080040 android:summary="@string/pocket_gesture_summary"
41 android:dependency="doze_enabled" />
Christopher R. Palmerfcd3f342015-05-23 11:42:49 -070042 </PreferenceCategory>
43
Dave Daynarde798b622015-05-25 12:54:00 -040044 <PreferenceCategory
45 android:key="proximity_wake_key"
Abhisek Devkotaf62a1872016-11-23 18:13:45 -080046 android:title="@string/proximity_wake_title">
Dave Daynarde798b622015-05-25 12:54:00 -040047
48 <SwitchPreference
49 android:key="proximity_wake_enable"
50 android:defaultValue="false"
51 android:title="@string/proximity_wake_enable_title"
52 android:summary="@string/proximity_wake_enable_summary" />
53 </PreferenceCategory>
54
Abhisek Devkotaf62a1872016-11-23 18:13:45 -080055</PreferenceScreen>