blob: 7f9ba0e7071ecf534f41259c2686578e63b8cb59 [file] [log] [blame]
<?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" />
<SwitchPreference 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:key="watch_alert_reminder"
android:title="@string/alert_reminder_interval_title" />
<SwitchPreference android:defaultValue="true"
android:key="enable_alert_vibrate"
android:title="@string/enable_alert_vibrate_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" />
<!-- Enable other test alerts -->
<SwitchPreference android:defaultValue="true"
android:key="enable_test_alerts"
android:title="@string/enable_cmas_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>