Broadscale logging for Settings
Bug: 26687914
Change-Id: Ida75ccf95376538e2ba95d212d333c40fd2dd6e0
diff --git a/res/xml/accessibility_daltonizer_settings.xml b/res/xml/accessibility_daltonizer_settings.xml
index 62c0dfc..9f08400 100644
--- a/res/xml/accessibility_daltonizer_settings.xml
+++ b/res/xml/accessibility_daltonizer_settings.xml
@@ -27,7 +27,6 @@
android:entries="@array/daltonizer_type_entries"
android:entryValues="@array/daltonizer_type_values"
android:key="type"
- android:persistent="false"
android:summary="%s"
android:title="@string/daltonizer_type" />
diff --git a/res/xml/accessibility_settings.xml b/res/xml/accessibility_settings.xml
index a59fbdc..32b78c5 100644
--- a/res/xml/accessibility_settings.xml
+++ b/res/xml/accessibility_settings.xml
@@ -55,8 +55,7 @@
<SwitchPreference
android:key="toggle_high_text_contrast_preference"
android:title="@string/accessibility_toggle_high_text_contrast_preference_title"
- android:summary="@string/experimental_preference"
- android:persistent="false"/>
+ android:summary="@string/experimental_preference"/>
<SwitchPreference
android:key="toggle_power_button_ends_call_preference"
diff --git a/res/xml/app_notification_settings.xml b/res/xml/app_notification_settings.xml
index ccf242c..a60eafc 100644
--- a/res/xml/app_notification_settings.xml
+++ b/res/xml/app_notification_settings.xml
@@ -54,6 +54,7 @@
android:title="@string/app_notification_block_title"
android:summary="@string/app_notification_block_summary"
android:order="7" />
+
<PreferenceCategory
android:key="categories"
android:title="@string/notification_topic_categories"
diff --git a/res/xml/application_settings.xml b/res/xml/application_settings.xml
index 1dfdce8..1afe243 100644
--- a/res/xml/application_settings.xml
+++ b/res/xml/application_settings.xml
@@ -51,14 +51,12 @@
android:key="toggle_advanced_settings"
android:title="@string/advanced_settings"
android:summaryOff="@string/advanced_settings_summary"
- android:summaryOn="@string/advanced_settings_summary"
- android:persistent="false" />
+ android:summaryOn="@string/advanced_settings_summary" />
<ListPreference
android:key="app_install_location"
android:title="@string/app_install_location_title"
android:summary="@string/app_install_location_summary"
- android:persistent="false"
android:entries="@array/app_install_location_entries"
android:entryValues="@array/app_install_location_values"/>
diff --git a/res/xml/battery_saver_settings.xml b/res/xml/battery_saver_settings.xml
index cc6d9af..832da58 100644
--- a/res/xml/battery_saver_settings.xml
+++ b/res/xml/battery_saver_settings.xml
@@ -22,8 +22,7 @@
<DropDownPreference
android:key="turn_on_automatically"
android:title="@string/battery_saver_turn_on_automatically_title"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Feature description text -->
<com.android.settings.fuelgauge.WallOfTextPreference
diff --git a/res/xml/captioning_settings.xml b/res/xml/captioning_settings.xml
index 30eaa51..5ba89cf 100644
--- a/res/xml/captioning_settings.xml
+++ b/res/xml/captioning_settings.xml
@@ -26,7 +26,6 @@
android:title="@string/captioning_standard_options_title" >
<com.android.settings.accessibility.LocalePreference
android:key="captioning_locale"
- android:persistent="false"
android:summary="%s"
android:title="@string/captioning_locale" />
@@ -34,13 +33,11 @@
android:entries="@array/captioning_font_size_selector_titles"
android:entryValues="@array/captioning_font_size_selector_values"
android:key="captioning_font_size"
- android:persistent="false"
android:summary="%s"
android:title="@string/captioning_text_size" />
<com.android.settings.accessibility.PresetPreference
android:key="captioning_preset"
- android:persistent="false"
android:title="@string/captioning_preset" />
</PreferenceCategory>
<PreferenceCategory
@@ -50,47 +47,38 @@
android:entries="@array/captioning_typeface_selector_titles"
android:entryValues="@array/captioning_typeface_selector_values"
android:key="captioning_typeface"
- android:persistent="false"
android:summary="%s"
android:title="@string/captioning_typeface" />
<com.android.settings.accessibility.ColorPreference
android:key="captioning_foreground_color"
- android:persistent="false"
android:title="@string/captioning_foreground_color" />
<com.android.settings.accessibility.ColorPreference
android:dependency="captioning_foreground_color"
android:key="captioning_foreground_opacity"
- android:persistent="false"
android:title="@string/captioning_foreground_opacity" />
<com.android.settings.accessibility.EdgeTypePreference
android:key="captioning_edge_type"
- android:persistent="false"
android:title="@string/captioning_edge_type" />
<com.android.settings.accessibility.ColorPreference
android:dependency="captioning_edge_type"
android:key="captioning_edge_color"
- android:persistent="false"
android:title="@string/captioning_edge_color" />
<com.android.settings.accessibility.ColorPreference
android:key="captioning_background_color"
- android:persistent="false"
android:title="@string/captioning_background_color" />
<com.android.settings.accessibility.ColorPreference
android:dependency="captioning_background_color"
android:key="captioning_background_opacity"
- android:persistent="false"
android:title="@string/captioning_background_opacity" />
<com.android.settings.accessibility.ColorPreference
android:key="captioning_window_color"
- android:persistent="false"
android:title="@string/captioning_window_color" />
<com.android.settings.accessibility.ColorPreference
android:dependency="captioning_window_color"
android:key="captioning_window_opacity"
- android:persistent="false"
android:title="@string/captioning_window_opacity" />
</PreferenceCategory>
diff --git a/res/xml/configure_notification_settings.xml b/res/xml/configure_notification_settings.xml
index 4ba0d39..88d42df 100644
--- a/res/xml/configure_notification_settings.xml
+++ b/res/xml/configure_notification_settings.xml
@@ -22,15 +22,13 @@
<!-- Pulse notification light -->
<SwitchPreference
android:key="notification_pulse"
- android:title="@string/notification_pulse_title"
- android:persistent="false" />
+ android:title="@string/notification_pulse_title" />
<!-- When device is locked -->
<com.android.settingslib.RestrictedDropDownPreference
android:key="lock_screen_notifications"
android:title="@string/lock_screen_notifications_title"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<PreferenceCategory
android:key="advanced"
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 6335c4e..ee9d2f8 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -64,7 +64,6 @@
android:key="night_mode"
android:title="@string/night_mode_title"
android:summary="%s"
- android:persistent="false"
android:entries="@array/night_mode_entries"
android:entryValues="@array/night_mode_values" />
@@ -77,8 +76,7 @@
<com.android.settings.ColorModePreference
android:key="color_mode"
android:title="@string/picture_color_mode"
- android:summary="@string/picture_color_mode_desc"
- android:persistent="false" />
+ android:summary="@string/picture_color_mode_desc" />
<ListPreference
android:key="select_webview_provider"
@@ -89,8 +87,7 @@
<SwitchPreference
android:key="color_temperature"
android:title="@string/color_temperature"
- android:summary="@string/color_temperature_desc"
- android:persistent="false" />
+ android:summary="@string/color_temperature_desc" />
<PreferenceCategory android:key="debug_debugging_category"
android:title="@string/debug_debugging_category">
@@ -220,28 +217,24 @@
<ListPreference
android:key="window_animation_scale"
android:title="@string/window_animation_scale_title"
- android:persistent="false"
android:entries="@array/window_animation_scale_entries"
android:entryValues="@array/window_animation_scale_values" />
<ListPreference
android:key="transition_animation_scale"
android:title="@string/transition_animation_scale_title"
- android:persistent="false"
android:entries="@array/transition_animation_scale_entries"
android:entryValues="@array/transition_animation_scale_values" />
<ListPreference
android:key="animator_duration_scale"
android:title="@string/animator_duration_scale_title"
- android:persistent="false"
android:entries="@array/animator_duration_scale_entries"
android:entryValues="@array/animator_duration_scale_values" />
<ListPreference
android:key="overlay_display_devices"
android:title="@string/overlay_display_devices_title"
- android:persistent="false"
android:entries="@array/overlay_display_devices_entries"
android:entryValues="@array/overlay_display_devices_values" />
@@ -268,14 +261,12 @@
<ListPreference
android:key="debug_hw_overdraw"
android:title="@string/debug_hw_overdraw"
- android:persistent="false"
android:entries="@array/debug_hw_overdraw_entries"
android:entryValues="@array/debug_hw_overdraw_values" />
<ListPreference
android:key="show_non_rect_clip"
android:title="@string/show_non_rect_clip"
- android:persistent="false"
android:entries="@array/show_non_rect_clip_entries"
android:entryValues="@array/show_non_rect_clip_values" />
@@ -293,7 +284,6 @@
android:entries="@array/simulate_color_space_entries"
android:entryValues="@array/simulate_color_space_values"
android:key="simulate_color_space"
- android:persistent="false"
android:summary="%s"
android:title="@string/simulate_color_space" />
@@ -325,14 +315,12 @@
<ListPreference
android:key="track_frame_time"
android:title="@string/track_frame_time"
- android:persistent="false"
android:entries="@array/track_frame_time_entries"
android:entryValues="@array/track_frame_time_values" />
<ListPreference
android:key="enable_opengl_traces"
android:title="@string/enable_opengl_traces_title"
- android:persistent="false"
android:entries="@array/enable_opengl_traces_entries"
android:entryValues="@array/enable_opengl_traces_values" />
@@ -349,7 +337,6 @@
<ListPreference
android:key="app_process_limit"
android:title="@string/app_process_limit_title"
- android:persistent="false"
android:entries="@array/app_process_limit_entries"
android:entryValues="@array/app_process_limit_values" />
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
index 0543ac1..039cc40 100644
--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -30,8 +30,7 @@
android:key="auto_brightness"
android:title="@string/auto_brightness_title"
settings:keywords="@string/keywords_display_auto_brightness"
- android:summary="@string/auto_brightness_summary"
- android:persistent="false" />
+ android:summary="@string/auto_brightness_summary" />
<!-- Hide night mode for now
<ListPreference
@@ -39,7 +38,6 @@
android:title="@string/night_mode_title"
settings:keywords="@string/keywords_display_night_mode"
android:summary="@string/night_mode_summary"
- android:persistent="false"
android:entries="@array/night_mode_entries"
android:entryValues="@array/night_mode_values" /> -->
@@ -53,21 +51,18 @@
android:key="screen_timeout"
android:title="@string/screen_timeout"
android:summary="@string/screen_timeout_summary"
- android:persistent="false"
android:entries="@array/screen_timeout_entries"
android:entryValues="@array/screen_timeout_values" />
<SwitchPreference
android:key="camera_gesture"
android:title="@string/camera_gesture_title"
- android:summary="@string/camera_gesture_desc"
- android:persistent="false" />
+ android:summary="@string/camera_gesture_desc" />
<SwitchPreference
android:key="camera_double_tap_power_gesture"
android:title="@string/camera_double_tap_power_gesture_title"
- android:summary="@string/camera_double_tap_power_gesture_desc"
- android:persistent="false" />
+ android:summary="@string/camera_double_tap_power_gesture_desc" />
<PreferenceScreen
android:key="screensaver"
@@ -76,20 +71,17 @@
<SwitchPreference
android:key="lift_to_wake"
- android:title="@string/lift_to_wake_title"
- android:persistent="false" />
+ android:title="@string/lift_to_wake_title" />
<SwitchPreference
android:key="doze"
android:title="@string/doze_title"
- android:summary="@string/doze_summary"
- android:persistent="false" />
+ android:summary="@string/doze_summary" />
<SwitchPreference
android:key="tap_to_wake"
android:title="@string/tap_to_wake"
- android:summary="@string/tap_to_wake_summary"
- android:persistent="false" />
+ android:summary="@string/tap_to_wake_summary" />
<PreferenceScreen
android:key="font_size"
@@ -104,7 +96,6 @@
<DropDownPreference
android:key="auto_rotate"
- android:persistent="false"
android:summary="%s"
android:title="@string/display_auto_rotate_title" />
diff --git a/res/xml/installed_app_launch_settings.xml b/res/xml/installed_app_launch_settings.xml
index dee56ef..7342cc0 100644
--- a/res/xml/installed_app_launch_settings.xml
+++ b/res/xml/installed_app_launch_settings.xml
@@ -22,14 +22,12 @@
<DropDownPreference
android:key="app_link_state"
- android:persistent="false"
android:summary="%s"
android:title="@string/app_launch_open_domain_urls_title" />
<com.android.settings.applications.AppDomainsPreference
android:key="app_launch_supported_domain_urls"
android:title="@string/app_launch_supported_domain_urls_title"
- android:persistent="false"
android:dependency="app_link_state"
/>
@@ -40,7 +38,6 @@
<com.android.settings.applications.ClearDefaultsPreference
android:key="app_launch_clear_defaults"
- android:persistent="false"
/>
</PreferenceCategory>
diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml
index 9cc0145..dae20af 100644
--- a/res/xml/language_settings.xml
+++ b/res/xml/language_settings.xml
@@ -103,7 +103,6 @@
android:title="@string/vibrate_input_devices"
android:summaryOn="@string/vibrate_input_devices_summary"
android:summaryOff="@string/vibrate_input_devices_summary"
- android:persistent="false"
/>
</PreferenceCategory>
diff --git a/res/xml/location_mode.xml b/res/xml/location_mode.xml
index 3627f11..b1b05bb 100644
--- a/res/xml/location_mode.xml
+++ b/res/xml/location_mode.xml
@@ -20,17 +20,14 @@
<com.android.settings.location.RadioButtonPreference
android:key="high_accuracy"
android:title="@string/location_mode_high_accuracy_title"
- android:summary="@string/location_mode_high_accuracy_description"
- android:persistent="false" />
+ android:summary="@string/location_mode_high_accuracy_description" />
<com.android.settings.location.RadioButtonPreference
android:key="battery_saving"
android:title="@string/location_mode_battery_saving_title"
- android:summary="@string/location_mode_battery_saving_description"
- android:persistent="false" />
+ android:summary="@string/location_mode_battery_saving_description" />
<com.android.settings.location.RadioButtonPreference
android:key="sensors_only"
android:title="@string/location_mode_sensors_only_title"
- android:summary="@string/location_mode_sensors_only_description"
- android:persistent="false" />
+ android:summary="@string/location_mode_sensors_only_description" />
</PreferenceScreen>
diff --git a/res/xml/location_scanning.xml b/res/xml/location_scanning.xml
index 74e6d3b..f82500b 100644
--- a/res/xml/location_scanning.xml
+++ b/res/xml/location_scanning.xml
@@ -21,14 +21,12 @@
android:title="@string/location_scanning_wifi_always_scanning_title"
android:summary="@string/location_scanning_wifi_always_scanning_description"
android:defaultValue="true"
- android:key="wifi_always_scanning"
- android:persistent="false" />
+ android:key="wifi_always_scanning" />
<SwitchPreference
android:title="@string/location_scanning_bluetooth_always_scanning_title"
android:summary="@string/location_scanning_bluetooth_always_scanning_description"
android:defaultValue="true"
- android:key="bluetooth_always_scanning"
- android:persistent="false" />
+ android:key="bluetooth_always_scanning" />
</PreferenceScreen>
diff --git a/res/xml/location_settings.xml b/res/xml/location_settings.xml
index d22d32a..9fd0826 100644
--- a/res/xml/location_settings.xml
+++ b/res/xml/location_settings.xml
@@ -31,7 +31,6 @@
android:key="managed_profile_location_switch"
android:title="@string/managed_profile_location_switch_title"
settings:useAdminDisabledSummary="true"
- android:persistent="false"
android:enabled="false"
android:selectable="true" />
diff --git a/res/xml/manage_assist.xml b/res/xml/manage_assist.xml
index 7669d26..97a06ea 100644
--- a/res/xml/manage_assist.xml
+++ b/res/xml/manage_assist.xml
@@ -28,14 +28,12 @@
<SwitchPreference
android:key="context"
android:title="@string/assist_access_context_title"
- android:summary="@string/assist_access_context_summary"
- android:persistent="false"/>
+ android:summary="@string/assist_access_context_summary"/>
<SwitchPreference
android:key="screenshot"
android:title="@string/assist_access_screenshot_title"
- android:summary="@string/assist_access_screenshot_summary"
- android:persistent="false"/>
+ android:summary="@string/assist_access_screenshot_summary"/>
<com.android.settings.voice.VoiceInputListPreference
android:key="voice_input_settings"
diff --git a/res/xml/other_sound_settings.xml b/res/xml/other_sound_settings.xml
index df113dc..66535e3 100644
--- a/res/xml/other_sound_settings.xml
+++ b/res/xml/other_sound_settings.xml
@@ -22,51 +22,43 @@
<!-- Dial pad tones -->
<SwitchPreference
android:key="dial_pad_tones"
- android:title="@string/dial_pad_tones_title"
- android:persistent="false" />
+ android:title="@string/dial_pad_tones_title" />
<!-- Screen locking sounds -->
<SwitchPreference
android:key="screen_locking_sounds"
- android:title="@string/screen_locking_sounds_title"
- android:persistent="false" />
+ android:title="@string/screen_locking_sounds_title" />
<!-- Charging sounds -->
<SwitchPreference
android:key="charging_sounds"
- android:title="@string/charging_sounds_title"
- android:persistent="false" />
+ android:title="@string/charging_sounds_title" />
<!-- Docking sounds -->
<SwitchPreference
android:key="docking_sounds"
- android:title="@string/docking_sounds_title"
- android:persistent="false" />
+ android:title="@string/docking_sounds_title" />
<!-- Touch sounds -->
<SwitchPreference
android:key="touch_sounds"
- android:title="@string/touch_sounds_title"
- android:persistent="false" />
+ android:title="@string/touch_sounds_title" />
<!-- Vibrate on touch -->
<SwitchPreference
android:key="vibrate_on_touch"
- android:title="@string/vibrate_on_touch_title"
- android:persistent="false" />
+ android:title="@string/vibrate_on_touch_title" />
<!-- Dock speaker plays -->
<DropDownPreference
android:key="dock_audio_media"
android:title="@string/dock_audio_media_title"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Emergency tone -->
<DropDownPreference
android:key="emergency_tone"
android:title="@string/emergency_tone_title"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
</PreferenceScreen>
diff --git a/res/xml/privacy_settings.xml b/res/xml/privacy_settings.xml
index 461d242..6a6b548 100644
--- a/res/xml/privacy_settings.xml
+++ b/res/xml/privacy_settings.xml
@@ -41,8 +41,7 @@
<SwitchPreference
android:key="auto_restore"
android:title="@string/auto_restore_title"
- android:summary="@string/auto_restore_summary"
- android:persistent="false" />
+ android:summary="@string/auto_restore_summary" />
<Preference
android:key="backup_inactive"
diff --git a/res/xml/screen_pinning_settings.xml b/res/xml/screen_pinning_settings.xml
index 6727687..229c4ea 100644
--- a/res/xml/screen_pinning_settings.xml
+++ b/res/xml/screen_pinning_settings.xml
@@ -19,7 +19,6 @@
<SwitchPreference
android:key="use_screen_lock"
- android:title="@string/screen_pinning_unlock_none"
- android:persistent="false" />
+ android:title="@string/screen_pinning_unlock_none" />
</PreferenceScreen>
diff --git a/res/xml/security_settings_misc.xml b/res/xml/security_settings_misc.xml
index a437547..b225682 100644
--- a/res/xml/security_settings_misc.xml
+++ b/res/xml/security_settings_misc.xml
@@ -37,8 +37,7 @@
android:persistent="false">
<SwitchPreference android:key="show_password"
- android:title="@string/show_password"
- android:persistent="false"/>
+ android:title="@string/show_password"/>
</PreferenceCategory>
@@ -55,8 +54,7 @@
<com.android.settingslib.RestrictedSwitchPreference android:key="toggle_install_applications"
android:title="@string/install_applications"
android:summaryOff="@string/install_unknown_applications"
- android:summaryOn="@string/install_unknown_applications"
- android:persistent="false" />
+ android:summaryOn="@string/install_unknown_applications" />
</PreferenceCategory>
diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml
index d96ca4b..6c4d4ff 100644
--- a/res/xml/security_settings_password.xml
+++ b/res/xml/security_settings_password.xml
@@ -26,8 +26,7 @@
android:key="unlock_set_or_change"
android:title="@string/unlock_set_unlock_launch_picker_title"
android:summary="@string/unlock_set_unlock_mode_password"
- settings:keywords="@string/keywords_lockscreen"
- android:persistent="false"/>
+ settings:keywords="@string/keywords_lockscreen" />
</PreferenceCategory>
diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml
index d3fd97d..3b463d8 100644
--- a/res/xml/security_settings_pattern.xml
+++ b/res/xml/security_settings_pattern.xml
@@ -26,8 +26,7 @@
android:key="unlock_set_or_change"
android:title="@string/unlock_set_unlock_launch_picker_title"
android:summary="@string/unlock_set_unlock_mode_pattern"
- settings:keywords="@string/keywords_lockscreen"
- android:persistent="false"/>
+ settings:keywords="@string/keywords_lockscreen" />
</PreferenceCategory>
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index ba19c43..404a2e4 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -26,8 +26,7 @@
android:key="unlock_set_or_change"
android:title="@string/unlock_set_unlock_launch_picker_title"
android:summary="@string/unlock_set_unlock_mode_pin"
- settings:keywords="@string/keywords_lockscreen"
- android:persistent="false"/>
+ settings:keywords="@string/keywords_lockscreen" />
</PreferenceCategory>
diff --git a/res/xml/sim_lock_settings.xml b/res/xml/sim_lock_settings.xml
index ee25fdf..0246ea2 100644
--- a/res/xml/sim_lock_settings.xml
+++ b/res/xml/sim_lock_settings.xml
@@ -21,7 +21,6 @@
<SwitchPreference
android:key="sim_toggle"
android:title="@string/sim_pin_toggle"
- android:persistent="false"
android:summaryOn="@string/sim_lock_on"
android:summaryOff="@string/sim_lock_off"/>
@@ -31,7 +30,6 @@
android:title="@string/sim_pin_change"
android:dialogTitle="@string/sim_change_pin"
android:dialogMessage="@string/sim_enter_old"
- android:persistent="false"
android:positiveButtonText="@string/sim_enter_ok"
android:negativeButtonText="@string/sim_enter_cancel"/>
diff --git a/res/xml/sound_settings.xml b/res/xml/sound_settings.xml
index 2b8ae13..47b4db1 100644
--- a/res/xml/sound_settings.xml
+++ b/res/xml/sound_settings.xml
@@ -47,14 +47,12 @@
<!-- Also vibrate for calls -->
<SwitchPreference
android:key="vibrate_when_ringing"
- android:title="@string/vibrate_when_ringing_title"
- android:persistent="false" />
+ android:title="@string/vibrate_when_ringing_title" />
<!-- Master mono -->
<SwitchPreference
android:key="master_mono"
android:title="@string/master_mono_title"
- android:persistent="false"
android:summaryOn="@string/master_mono_on"
android:summaryOff="@string/master_mono_off" />
@@ -71,7 +69,6 @@
android:key="ringtone"
android:title="@string/ringtone_title"
android:dialogTitle="@string/ringtone_title"
- android:persistent="false"
android:ringtoneType="ringtone" />
<!-- Default notification ringtone -->
@@ -79,7 +76,6 @@
android:key="notification_ringtone"
android:title="@string/notification_ringtone_title"
android:dialogTitle="@string/notification_ringtone_title"
- android:persistent="false"
android:ringtoneType="notification" />
<!-- Default alarm ringtone -->
diff --git a/res/xml/tether_prefs.xml b/res/xml/tether_prefs.xml
index 7a70306..3a39d8a 100644
--- a/res/xml/tether_prefs.xml
+++ b/res/xml/tether_prefs.xml
@@ -18,13 +18,11 @@
<SwitchPreference
android:key="usb_tether_settings"
- android:title="@string/usb_tethering_button_text"
- android:persistent="false" />
+ android:title="@string/usb_tethering_button_text" />
<SwitchPreference
android:key="enable_wifi_ap"
- android:title="@string/wifi_tether_checkbox_text"
- android:persistent="false" />
+ android:title="@string/wifi_tether_checkbox_text" />
<Preference
android:key="wifi_ap_ssid_and_security"
@@ -33,7 +31,6 @@
<SwitchPreference
android:key="enable_bluetooth_tethering"
- android:title="@string/bluetooth_tether_checkbox_text"
- android:persistent="false" />
+ android:title="@string/bluetooth_tether_checkbox_text" />
</PreferenceScreen>
diff --git a/res/xml/tts_engine_settings.xml b/res/xml/tts_engine_settings.xml
index 176bdbc..d00c102 100644
--- a/res/xml/tts_engine_settings.xml
+++ b/res/xml/tts_engine_settings.xml
@@ -19,7 +19,6 @@
android:key="tts_default_lang"
android:title="@string/tts_default_lang_title"
android:summary="@string/tts_default_lang_summary"
- android:persistent="false"
android:order="100" />
<Preference
diff --git a/res/xml/tts_settings.xml b/res/xml/tts_settings.xml
index dbdf469..e829710 100644
--- a/res/xml/tts_settings.xml
+++ b/res/xml/tts_settings.xml
@@ -28,7 +28,6 @@
android:key="tts_default_rate"
android:title="@string/tts_default_rate_title"
android:summary="@string/tts_default_rate_summary"
- android:persistent="false"
android:defaultValue="50"
android:max="400" />
<SwitchPreference
diff --git a/res/xml/user_details_settings.xml b/res/xml/user_details_settings.xml
index 0b0c6d9..9bcc194 100644
--- a/res/xml/user_details_settings.xml
+++ b/res/xml/user_details_settings.xml
@@ -19,11 +19,10 @@
<SwitchPreference
android:key="enable_calling"
- android:title="@string/user_enable_calling_sms"
- android:persistent="false" />
+ android:title="@string/user_enable_calling_sms" />
<com.android.settingslib.RestrictedPreference
android:key="remove_user"
android:title="@string/user_remove_user"
settings:useAdminDisabledSummary="true" />
-</PreferenceScreen>
\ No newline at end of file
+</PreferenceScreen>
diff --git a/res/xml/wifi_configure_settings.xml b/res/xml/wifi_configure_settings.xml
index 15e524a..b99caf0 100644
--- a/res/xml/wifi_configure_settings.xml
+++ b/res/xml/wifi_configure_settings.xml
@@ -26,13 +26,11 @@
<SwitchPreference
android:key="notify_open_networks"
android:title="@string/wifi_notify_open_networks"
- android:summary="@string/wifi_notify_open_networks_summary"
- android:persistent="false" />
+ android:summary="@string/wifi_notify_open_networks_summary" />
<ListPreference
android:key="sleep_policy"
android:title="@string/wifi_setting_sleep_policy_title"
- android:persistent="false"
android:entries="@array/wifi_sleep_policy_entries"
android:entryValues="@array/wifi_sleep_policy_values" />
@@ -40,14 +38,12 @@
android:key="wifi_assistant"
android:title="@string/wifi_automatically_connect_title"
android:summary="@string/wifi_automatically_connect_summary"
- android:dialogTitle="@string/wifi_select_assistant_dialog_title"
- android:persistent="false" />
+ android:dialogTitle="@string/wifi_select_assistant_dialog_title" />
<ListPreference
android:key="frequency_band"
android:title="@string/wifi_setting_frequency_band_title"
android:summary="@string/wifi_setting_frequency_band_summary"
- android:persistent="false"
android:entries="@array/wifi_frequency_band_entries"
android:entryValues="@array/wifi_frequency_band_values" />
diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml
index d0d429a..0461bf8 100644
--- a/res/xml/wireless_settings.xml
+++ b/res/xml/wireless_settings.xml
@@ -21,14 +21,12 @@
<SwitchPreference
android:key="toggle_airplane"
android:title="@string/airplane_mode"
- android:persistent="false"
android:disableDependentsState="true" />
<SwitchPreference
android:key="toggle_nfc"
android:title="@string/nfc_quick_toggle_title"
- android:summary="@string/nfc_quick_toggle_summary"
- android:persistent="false" />
+ android:summary="@string/nfc_quick_toggle_summary" />
<PreferenceScreen
android:key="wifi_calling_settings"
diff --git a/res/xml/zen_mode_event_rule_settings.xml b/res/xml/zen_mode_event_rule_settings.xml
index 98e75ce..102d2a2 100644
--- a/res/xml/zen_mode_event_rule_settings.xml
+++ b/res/xml/zen_mode_event_rule_settings.xml
@@ -28,21 +28,18 @@
<DropDownPreference
android:key="calendar"
android:title="@string/zen_mode_event_rule_calendar"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Where reply is -->
<DropDownPreference
android:key="reply"
android:title="@string/zen_mode_event_rule_reply"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Zen mode -->
<DropDownPreference
android:key="zen_mode"
android:title="@string/zen_mode_settings_title"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
</PreferenceScreen>
diff --git a/res/xml/zen_mode_external_rule_settings.xml b/res/xml/zen_mode_external_rule_settings.xml
index e3fafbd..0869cb0 100644
--- a/res/xml/zen_mode_external_rule_settings.xml
+++ b/res/xml/zen_mode_external_rule_settings.xml
@@ -40,7 +40,6 @@
<DropDownPreference
android:key="zen_mode"
android:summary="%s"
- android:title="@string/zen_mode_settings_title"
- android:persistent="false" />
+ android:title="@string/zen_mode_settings_title" />
</PreferenceScreen>
diff --git a/res/xml/zen_mode_priority_settings.xml b/res/xml/zen_mode_priority_settings.xml
index 6d9f36f..e2b8f48 100644
--- a/res/xml/zen_mode_priority_settings.xml
+++ b/res/xml/zen_mode_priority_settings.xml
@@ -24,39 +24,33 @@
android:key="alarms"
android:title="@string/zen_mode_alarms"
android:enabled="false"
- android:defaultValue="true"
- android:persistent="false"/>
+ android:defaultValue="true"/>
<!-- Reminders -->
<SwitchPreference
android:key="reminders"
- android:title="@string/zen_mode_reminders"
- android:persistent="false"/>
+ android:title="@string/zen_mode_reminders"/>
<!-- Events -->
<SwitchPreference
android:key="events"
- android:title="@string/zen_mode_events"
- android:persistent="false"/>
+ android:title="@string/zen_mode_events"/>
<!-- Messages -->
<DropDownPreference
android:key="messages"
android:title="@string/zen_mode_messages"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Calls -->
<DropDownPreference
android:key="calls"
android:title="@string/zen_mode_calls"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
<!-- Repeat callers -->
<SwitchPreference
android:key="repeat_callers"
- android:title="@string/zen_mode_repeat_callers"
- android:persistent="false"/>
+ android:title="@string/zen_mode_repeat_callers"/>
</PreferenceScreen>
diff --git a/res/xml/zen_mode_schedule_rule_settings.xml b/res/xml/zen_mode_schedule_rule_settings.xml
index 3c62b5b..80a9d66 100644
--- a/res/xml/zen_mode_schedule_rule_settings.xml
+++ b/res/xml/zen_mode_schedule_rule_settings.xml
@@ -37,7 +37,6 @@
android:key="zen_mode"
android:title="@string/zen_mode_settings_title"
android:order="100"
- android:summary="%s"
- android:persistent="false" />
+ android:summary="%s" />
</PreferenceScreen>
diff --git a/res/xml/zen_mode_visual_interruptions_settings.xml b/res/xml/zen_mode_visual_interruptions_settings.xml
index 8f67e08..42a043b 100644
--- a/res/xml/zen_mode_visual_interruptions_settings.xml
+++ b/res/xml/zen_mode_visual_interruptions_settings.xml
@@ -20,17 +20,14 @@
<SwitchPreference android:key="peek"
android:title="@string/zen_mode_peek"
- android:summary="@string/zen_mode_peek_summary"
- android:persistent="false" />
+ android:summary="@string/zen_mode_peek_summary" />
<SwitchPreference android:key="lights"
android:title="@string/zen_mode_lights"
- android:summary="@string/zen_mode_lights_summary"
- android:persistent="false" />
+ android:summary="@string/zen_mode_lights_summary" />
<SwitchPreference android:key="screen_on"
android:title="@string/zen_mode_screen_on"
- android:summary="@string/zen_mode_screen_on_summary"
- android:persistent="false" />
+ android:summary="@string/zen_mode_screen_on_summary" />
</PreferenceScreen>