summaryrefslogtreecommitdiff
path: root/res/xml/watch_preferences.xml
blob: 96b2241a7d4f313243341cd91f84aa622bee6ff2 (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
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (C) 2011 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:app="http://schemas.android.com/apk/res-auto"
    android:title="@string/emergency_alert_settings_title_watches"
    android:key="category_alert_preferences">

        <!-- Enable CMAS Extreme Threat alerts -->
        <SwitchPreference android:defaultValue="true"
                          android:key="enable_cmas_extreme_threat_alerts"
                          android:title="@string/enable_cmas_extreme_threat_alerts_title" />

        <!-- Enable CMAS Severe Threat alerts -->
        <SwitchPreference android:defaultValue="true"
                          android:key="enable_cmas_severe_threat_alerts"
                          android:title="@string/enable_cmas_severe_threat_alerts_title" />

        <!-- Enable CMAS AMBER alerts -->
        <SwitchPreference android:defaultValue="true"
                          android:key="enable_cmas_amber_alerts"
                          android:title="@string/enable_cmas_amber_alerts_title" />

        <!-- Enable public safety messages -->
        <SwitchPreference android:defaultValue="@bool/public_safety_messages_enabled_default"
            android:key="enable_public_safety_messages"
            android:summary="@string/enable_public_safety_messages_summary"
            android:title="@string/enable_public_safety_messages_title" />

        <!-- Enable public safety full screen messages -->
        <SwitchPreference android:defaultValue="@bool/public_safety_messages_full_screen_enabled_default"
            android:key="enable_public_safety_messages_full_screen"
            android:summary="@string/enable_full_screen_public_safety_messages_summary"
            android:title="@string/enable_full_screen_public_safety_messages_title" />

        <com.android.settingslib.widget.MainSwitchPreference android:defaultValue="true"
                          android:key="enable_emergency_alerts"
                          android:title="@string/enable_alerts_master_toggle_title" />

        <ListPreference android:key="alert_reminder_interval"
                        android:title="@string/alert_reminder_interval_title"
                        android:entries="@array/alert_reminder_interval_entries"
                        android:entryValues="@array/alert_reminder_interval_values"
                        android:defaultValue="@string/alert_reminder_interval_in_min_default"
                        android:dialogTitle="@string/alert_reminder_interval_title" />

        <SwitchPreference android:defaultValue="true"
                          android:key="enable_alert_vibrate"
                          android:title="@string/enable_alert_vibrate_title" />

        <SwitchPreference android:defaultValue="true"
                          android:key="enable_alert_speech"
                          android:title="@string/enable_alert_speech_title" />

        <!-- Enable receive monthly test -->
        <SwitchPreference android:defaultValue="false"
                          android:key="enable_test_alerts"
                          android:title="@string/enable_cmas_test_alerts_title" />

        <!-- Enable state/local test alerts -->
        <SwitchPreference android:defaultValue="true"
                          android:key="enable_state_local_test_alerts"
                          android:title="@string/enable_state_local_test_alerts_title" />

        <!-- Default value is true for Brazil and India. This preference is ignored and hidden
        unless the boolean "config_showAreaUpdateInfoSettings" is set to true in the global resource. -->
        <SwitchPreference android:defaultValue="true"
                          android:key="enable_area_update_info_alerts"
                          android:summary="@string/enable_area_update_info_alerts_summary"
                          android:title="@string/enable_area_update_info_alerts_title" />

        <Preference android:key="emergency_alert_history"
                            android:title="@string/emergency_alert_history_title" />

        <!-- Show additional language on/off switch in settings -->
        <SwitchPreference android:defaultValue="false"
                          android:key="receive_cmas_in_second_language"
                          android:title="@string/receive_cmas_in_second_language_title" />
</PreferenceScreen>