1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2011 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *      http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<PreferenceScreen
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    xmlns:app="http://schemas.android.com/apk/res-auto"
22    android:title="@string/emergency_alert_settings_title_watches"
23    android:key="category_alert_preferences">
24
25        <!-- Enable CMAS Extreme Threat alerts -->
26        <SwitchPreference android:defaultValue="true"
27                          android:key="enable_cmas_extreme_threat_alerts"
28                          android:title="@string/enable_cmas_extreme_threat_alerts_title" />
29
30        <!-- Enable CMAS Severe Threat alerts -->
31        <SwitchPreference android:defaultValue="true"
32                          android:key="enable_cmas_severe_threat_alerts"
33                          android:title="@string/enable_cmas_severe_threat_alerts_title" />
34
35        <!-- Enable CMAS AMBER alerts -->
36        <SwitchPreference android:defaultValue="true"
37                          android:key="enable_cmas_amber_alerts"
38                          android:title="@string/enable_cmas_amber_alerts_title" />
39
40        <SwitchPreference android:defaultValue="true"
41                          android:key="enable_emergency_alerts"
42                          android:title="@string/enable_alerts_master_toggle_title" />
43
44        <ListPreference android:key="alert_reminder_interval"
45                        android:title="@string/alert_reminder_interval_title"
46                        android:entries="@array/alert_reminder_interval_entries"
47                        android:entryValues="@array/alert_reminder_interval_values"
48                        android:defaultValue="@string/alert_reminder_interval_in_min_default"
49                        android:dialogTitle="@string/alert_reminder_interval_title" />
50
51        <SwitchPreference android:key="watch_alert_reminder"
52                          android:title="@string/alert_reminder_interval_title" />
53
54        <SwitchPreference android:defaultValue="true"
55                          android:key="enable_alert_vibrate"
56                          android:title="@string/enable_alert_vibrate_title" />
57
58        <!-- Enable receive monthly test -->
59        <SwitchPreference android:defaultValue="false"
60                          android:key="enable_test_alerts"
61                          android:title="@string/enable_cmas_test_alerts_title" />
62
63        <!-- Default value is true for Brazil and India. This preference is ignored and hidden
64        unless the boolean "config_showAreaUpdateInfoSettings" is set to true in the global resource. -->
65        <SwitchPreference android:defaultValue="true"
66                          android:key="enable_area_update_info_alerts"
67                          android:summary="@string/enable_area_update_info_alerts_summary"
68                          android:title="@string/enable_area_update_info_alerts_title" />
69
70        <Preference android:key="emergency_alert_history"
71                            android:title="@string/emergency_alert_history_title" />
72
73</PreferenceScreen>
74