blob: 2c900394bbed0c9c72424cfefce2f22f17988d86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The CyanogenMod 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/com.android.settings">
<PreferenceCategory
android:key="general_section"
android:title="@string/notification_light_general_title">
<com.android.settings.cyanogenmod.SystemSettingSwitchPreference
android:key="notification_light_pulse"
android:title="@string/notification_light_title" />
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="notification_light_color_auto"
android:title="@string/notification_light_automagic"
android:dependency="notification_light_pulse"
android:defaultValue="true" />
<com.android.settings.notificationlight.ApplicationLightPreference
android:key="default"
android:title="@string/notification_light_default_value"
android:persistent="false"
android:dependency="notification_light_pulse" />
</PreferenceCategory>
<PreferenceCategory
android:key="advanced_section"
android:title="@string/advanced">
<PreferenceScreen
android:key="notification_light_brightness_level"
android:title="@string/notification_light_brightness"
android:dependency="notification_light_pulse"
settings:keywords="@string/keywords_lights_brightness_level">
<intent android:action="android.intent.action.SHOW_NOTIFICATION_BRIGHTNESS_DIALOG" />
</PreferenceScreen>
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="notification_light_multiple_leds_enable"
android:title="@string/notification_light_use_multiple_leds"
android:dependency="notification_light_pulse" />
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="notification_light_screen_on_enable"
android:title="@string/notification_light_screen_on"
android:dependency="notification_light_pulse" />
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="allow_lights"
android:title="@string/notification_light_zen_mode"
android:dependency="notification_light_pulse"
android:defaultValue="true" />
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="notification_light_pulse_custom_enable"
android:title="@string/notification_light_use_custom"
android:dependency="notification_light_pulse" />
</PreferenceCategory>
<PreferenceCategory
android:key="phone_list"
android:title="@string/notification_light_phonelist_title" >
<com.android.settings.notificationlight.ApplicationLightPreference
android:key="missed_call"
android:title="@string/notification_light_missed_call_title"
android:persistent="false"
android:dependency="notification_light_pulse_custom_enable" />
<com.android.settings.notificationlight.ApplicationLightPreference
android:key="voicemail"
android:title="@string/notification_light_voicemail_title"
android:persistent="false"
android:dependency="notification_light_pulse_custom_enable" />
</PreferenceCategory>
<PreferenceCategory
android:key="applications_list"
android:title="@string/notification_light_applist_title"
android:dependency="notification_light_pulse_custom_enable" >
</PreferenceCategory>
</PreferenceScreen>
|