Make the fragment title can’t searchable

we shouldn't take users so deep into the settings IA because it's easy
to feel lost in settings after clicking on a result without additional
context.

Bug: 143055215
Test: robotest & manual
Change-Id: I337cb5ead31e1e4e7bf9be78132e90630f83ee43
This commit is contained in:
Edgar Wang
2020-02-06 11:40:42 +08:00
parent 43190bf92b
commit 0934babbfc
151 changed files with 129 additions and 530 deletions

View File

@@ -16,8 +16,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/legal_information" android:title="@string/legal_information">
android:key="legal_screen">
<!-- Note: The titles given here probably won't be used. Instead, we programmatically <!-- Note: The titles given here probably won't be used. Instead, we programmatically
fill the title with the label of the activity with the corresponding action. fill the title with the label of the activity with the corresponding action.

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="autoclick_preference_screen"
android:title="@string/accessibility_autoclick_preference_title"> android:title="@string/accessibility_autoclick_preference_title">
<com.android.settingslib.widget.RadioButtonPreference <com.android.settingslib.widget.RadioButtonPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="color_inversion_preference_screen"
android:persistent="false" android:persistent="false"
android:title="@string/accessibility_display_inversion_preference_title"> android:title="@string/accessibility_display_inversion_preference_title">

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="accessibility_control_timeout_preference"
android:title="@string/accessibility_control_timeout_preference_title" android:title="@string/accessibility_control_timeout_preference_title"
android:persistent="false" > android:persistent="false" >

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="daltonizer_preference_screen"
android:persistent="false" android:persistent="false"
android:title="@string/accessibility_display_daltonizer_preference_title"> android:title="@string/accessibility_display_daltonizer_preference_title">

View File

@@ -16,9 +16,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="magnification_preference_screen_title" android:title="@string/accessibility_screen_magnification_title">
android:title="@string/accessibility_screen_magnification_title"
settings:searchable="false">
<Preference <Preference
android:fragment="com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragment" android:fragment="com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragment"
android:key="screen_magnification_gestures_preference_screen" android:key="screen_magnification_gestures_preference_screen"

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="accessibility_settings_screen"
android:persistent="false" android:persistent="false"
android:title="@string/accessibility_settings"> android:title="@string/accessibility_settings">

View File

@@ -18,7 +18,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="accessibility_settings_vibration_screen"
android:title="@string/accessibility_vibration_settings_title"> android:title="@string/accessibility_vibration_settings_title">
<Preference <Preference

View File

@@ -17,9 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="user_and_account_settings_screen" android:title="@string/account_dashboard_title">
android:title="@string/account_dashboard_title"
settings:keywords="@string/keywords_accounts">
<PreferenceCategory <PreferenceCategory
android:key="dashboard_tile_placeholder" android:key="dashboard_tile_placeholder"

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="adaptive_sleep_detail"
android:title="@string/adaptive_sleep_title"> android:title="@string/adaptive_sleep_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -52,4 +51,4 @@
android:selectable="false" android:selectable="false"
settings:searchable="false" /> settings:searchable="false" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="apps_and_notification_screen"
android:title="@string/app_and_notification_dashboard_title" android:title="@string/app_and_notification_dashboard_title"
settings:initialExpandedChildrenCount="4"> settings:initialExpandedChildrenCount="4">
<!-- the initial count should include the dynamic tiles --> <!-- the initial count should include the dynamic tiles -->

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_assist_settings_page"
android:title="@string/assist_gesture_title"> android:title="@string/assist_gesture_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="auto_brightness_detail"
android:title="@string/auto_brightness_title"> android:title="@string/auto_brightness_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -45,4 +44,4 @@
android:selectable="false" android:selectable="false"
settings:searchable="false" /> settings:searchable="false" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="available_virtual_keyboard_page"
android:title="@string/add_virtual_keyboard"> android:title="@string/add_virtual_keyboard">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,8 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/battery_saver" android:title="@string/battery_saver">
android:key="battery_saver_page">
<Preference <Preference
android:key="battery_saver_schedule" android:key="battery_saver_schedule"

View File

@@ -16,7 +16,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="bluetooth_switchbar_screen"
android:title="@string/bluetooth_settings_title"> android:title="@string/bluetooth_settings_title">
<Preference <Preference
@@ -40,4 +39,4 @@
android:key="bluetooth_screen_footer" android:key="bluetooth_screen_footer"
android:selectable="false" android:selectable="false"
settings:searchable="false"/> settings:searchable="false"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,8 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:fragment="com.android.settings.accessibility.CaptionAppearanceFragment"
android:key="captioning_appearance_screen"
android:title="@string/captioning_caption_appearance_title"> android:title="@string/captioning_caption_appearance_title">
<com.android.settingslib.widget.LayoutPreference <com.android.settingslib.widget.LayoutPreference

View File

@@ -18,8 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:fragment="com.android.settings.accessibility.CaptionMoreOptionsFragment"
android:key="captioning_more_options_screen"
android:title="@string/captioning_more_options_title" > android:title="@string/captioning_more_options_title" >
<com.android.settings.accessibility.LocalePreference <com.android.settings.accessibility.LocalePreference

View File

@@ -18,8 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment"
android:key="captioning_preference_screen"
android:title="@string/accessibility_captioning_title" > android:title="@string/accessibility_captioning_title" >
<SwitchPreference <SwitchPreference

View File

@@ -17,5 +17,4 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="color_mode_settings_screen"
android:title="@string/color_mode_title" /> android:title="@string/color_mode_title" />

View File

@@ -16,8 +16,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/configure_notification_settings" android:title="@string/configure_notification_settings">
android:key="configure_notification_settings">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
android:key="notification_model_illustration" android:key="notification_model_illustration"

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="connected_devices_screen"
android:title="@string/connected_devices_dashboard_title"> android:title="@string/connected_devices_dashboard_title">
<com.android.settings.slices.SlicePreference <com.android.settings.slices.SlicePreference
@@ -57,6 +56,7 @@
android:title="@string/previous_connected_see_all" android:title="@string/previous_connected_see_all"
android:icon="@drawable/ic_chevron_right_24dp" android:icon="@drawable/ic_chevron_right_24dp"
android:order="10" android:order="10"
settings:searchable="false"
android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/> android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/>
</PreferenceCategory> </PreferenceCategory>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="connected_devices_advanced_screen"
android:title="@string/connected_device_connections_title"> android:title="@string/connected_device_connections_title">
<Preference <Preference
@@ -25,8 +24,7 @@
android:key="bluetooth_settings" android:key="bluetooth_settings"
android:title="@string/bluetooth_settings_title" android:title="@string/bluetooth_settings_title"
android:icon="@*android:drawable/ic_settings_bluetooth" android:icon="@*android:drawable/ic_settings_bluetooth"
android:order="-9" android:order="-9"/>
settings:searchable="false"/>
<Preference <Preference
android:fragment="com.android.settings.connecteddevice.NfcAndPaymentFragment" android:fragment="com.android.settings.connecteddevice.NfcAndPaymentFragment"
@@ -42,7 +40,6 @@
android:title="@string/wifi_display_settings_title" android:title="@string/wifi_display_settings_title"
android:icon="@drawable/ic_cast_24dp" android:icon="@drawable/ic_cast_24dp"
android:order="-6" android:order="-6"
settings:searchable="false"
settings:controller="com.android.settings.wfd.WifiDisplayPreferenceController"/> settings:controller="com.android.settings.wfd.WifiDisplayPreferenceController"/>
<com.android.settingslib.RestrictedPreference <com.android.settingslib.RestrictedPreference
@@ -59,8 +56,7 @@
android:summary="@string/summary_placeholder" android:summary="@string/summary_placeholder"
android:icon="@*android:drawable/ic_settings_print" android:icon="@*android:drawable/ic_settings_print"
android:fragment="com.android.settings.print.PrintSettingsFragment" android:fragment="com.android.settings.print.PrintSettingsFragment"
android:order="-3" android:order="-3"/>
settings:searchable="false"/>
<Preference <Preference
android:key="bt_received_files" android:key="bt_received_files"

View File

@@ -18,7 +18,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/dark_ui_mode" android:title="@string/dark_ui_mode"
android:key="dark_ui_mode_screen"
settings:keywords="@string/keywords_dark_ui_mode"> settings:keywords="@string/keywords_dark_ui_mode">
<DropDownPreference <DropDownPreference
@@ -56,4 +55,4 @@
settings:searchable="false" settings:searchable="false"
settings:allowDividerAbove="true"/> settings:allowDividerAbove="true"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="data_saver_screen"
android:title="@string/data_saver_title"> android:title="@string/data_saver_title">
<Preference <Preference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="date_time_settings_screen"
android:title="@string/date_and_time" android:title="@string/date_and_time"
settings:keywords="@string/keywords_date_and_time"> settings:keywords="@string/keywords_date_and_time">

View File

@@ -125,8 +125,7 @@
<Preference <Preference
android:key="quick_settings_tiles" android:key="quick_settings_tiles"
android:title="@string/quick_settings_developer_tiles" android:title="@string/quick_settings_developer_tiles"
android:fragment="com.android.settings.development.qstile.DevelopmentTileConfigFragment" android:fragment="com.android.settings.development.qstile.DevelopmentTileConfigFragment" />
settings:searchable="false" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
@@ -208,8 +207,7 @@
<Preference <Preference
android:key="feature_flags_dashboard" android:key="feature_flags_dashboard"
android:title="@string/feature_flags_dashboard_title" android:title="@string/feature_flags_dashboard_title"
android:fragment="com.android.settings.development.featureflags.FeatureFlagsDashboard" android:fragment="com.android.settings.development.featureflags.FeatureFlagsDashboard" />
settings:searchable="false" />
<SwitchPreference <SwitchPreference
android:key="enable_gpu_debug_layers" android:key="enable_gpu_debug_layers"
@@ -220,8 +218,7 @@
android:key="graphics_driver_dashboard" android:key="graphics_driver_dashboard"
android:title="@string/graphics_driver_dashboard_title" android:title="@string/graphics_driver_dashboard_title"
android:summary="@string/graphics_driver_dashboard_summary" android:summary="@string/graphics_driver_dashboard_summary"
android:fragment="com.android.settings.development.gamedriver.GameDriverDashboard" android:fragment="com.android.settings.development.gamedriver.GameDriverDashboard" />
settings:searchable="false" />
<Preference <Preference
android:key="platform_compat_dashboard" android:key="platform_compat_dashboard"

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="development_tile_settings"
android:title="@string/quick_settings_developer_tiles" android:title="@string/quick_settings_developer_tiles"
settings:controller="com.android.settings.development.qstile.DevelopmentTilePreferenceController" /> settings:controller="com.android.settings.development.qstile.DevelopmentTilePreferenceController" />

View File

@@ -19,7 +19,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/manage_device_admin" android:title="@string/manage_device_admin"
android:key="device_admin_settings"
settings:controller="com.android.settings.applications.specialaccess.deviceadmin.DeviceAdminListPreferenceController"> settings:controller="com.android.settings.applications.specialaccess.deviceadmin.DeviceAdminListPreferenceController">
<com.android.settingslib.widget.FooterPreference <com.android.settingslib.widget.FooterPreference
@@ -27,4 +26,4 @@
android:title="@string/no_device_admins" android:title="@string/no_device_admins"
android:selectable="false" android:selectable="false"
settings:searchable="false"/> settings:searchable="false"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,9 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="display_settings_screen"
android:title="@string/display_settings" android:title="@string/display_settings"
settings:keywords="@string/keywords_display"
settings:initialExpandedChildrenCount="5"> settings:initialExpandedChildrenCount="5">
<com.android.settingslib.RestrictedPreference <com.android.settingslib.RestrictedPreference
@@ -37,8 +35,7 @@
android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment" android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment"
android:widgetLayout="@null" android:widgetLayout="@null"
settings:widgetLayout="@null" settings:widgetLayout="@null"
settings:controller="com.android.settings.display.DarkUIPreferenceController" settings:controller="com.android.settings.display.DarkUIPreferenceController"/>
settings:searchable="false"/>
<com.android.settings.display.NightDisplayPreference <com.android.settings.display.NightDisplayPreference
android:key="night_display" android:key="night_display"
@@ -107,8 +104,7 @@
<com.android.settings.display.ScreenZoomPreference <com.android.settings.display.ScreenZoomPreference
android:key="display_settings_screen_zoom" android:key="display_settings_screen_zoom"
android:title="@string/screen_zoom_title" android:title="@string/screen_zoom_title"
android:fragment="com.android.settings.display.ScreenZoomSettings" android:fragment="com.android.settings.display.ScreenZoomSettings"/>
settings:searchable="false"/>
<SwitchPreference <SwitchPreference
android:key="show_operator_name" android:key="show_operator_name"
@@ -118,13 +114,13 @@
<Preference <Preference
android:key="screensaver" android:key="screensaver"
android:title="@string/screensaver_settings_title" android:title="@string/screensaver_settings_title"
android:fragment="com.android.settings.dream.DreamSettings" android:fragment="com.android.settings.dream.DreamSettings" />
settings:searchable="false" />
<Preference <Preference
android:key="lockscreen_from_display_settings" android:key="lockscreen_from_display_settings"
android:title="@string/lockscreen_settings_title" android:title="@string/lockscreen_settings_title"
android:fragment="com.android.settings.security.LockscreenDashboardFragment" android:fragment="com.android.settings.security.LockscreenDashboardFragment"
settings:keywords="@string/keywords_ambient_display_screen"
settings:controller="com.android.settings.security.screenlock.LockScreenPreferenceController" /> settings:controller="com.android.settings.security.screenlock.LockScreenPreferenceController" />
<SwitchPreference <SwitchPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_double_tap_power_screen"
android:title="@string/double_tap_power_for_camera_title"> android:title="@string/double_tap_power_for_camera_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -34,4 +33,4 @@
app:controller="com.android.settings.gestures.DoubleTapPowerPreferenceController" app:controller="com.android.settings.gestures.DoubleTapPowerPreferenceController"
app:allowDividerAbove="true" /> app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_double_tap_screen_screen"
android:title="@string/ambient_display_title"> android:title="@string/ambient_display_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -34,4 +33,4 @@
app:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController" app:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController"
app:allowDividerAbove="true" /> app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_double_twist_screen"
android:title="@string/double_twist_for_camera_mode_title"> android:title="@string/double_twist_for_camera_mode_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -34,4 +33,4 @@
app:controller="com.android.settings.gestures.DoubleTwistPreferenceController" app:controller="com.android.settings.gestures.DoubleTwistPreferenceController"
app:allowDividerAbove="true" /> app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="dream_overview_screen"
android:title="@string/screensaver_settings_title"> android:title="@string/screensaver_settings_title">
<com.android.settings.widget.GearPreference <com.android.settings.widget.GearPreference
@@ -41,4 +40,4 @@
android:layout="@layout/dream_start_button" /> android:layout="@layout/dream_start_button" />
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,8 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/encryption_and_credential_settings_title" android:title="@string/encryption_and_credential_settings_title">
android:key="encryption_and_credentials_screen">
<PreferenceCategory <PreferenceCategory
android:key="encryption_and_credentials_status_category" android:key="encryption_and_credentials_status_category"

View File

@@ -16,7 +16,6 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="enterprise_privacy_settings"
android:title="@string/enterprise_privacy_settings"> android:title="@string/enterprise_privacy_settings">
<PreferenceCategory android:key="exposure_category" <PreferenceCategory android:key="exposure_category"

View File

@@ -16,8 +16,7 @@
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto">
android:key="enterprise_set_default_apps_settings">
<PreferenceCategory <PreferenceCategory
android:key="dashboard_tile_placeholder"/> android:key="dashboard_tile_placeholder"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="feature_flags_settings"
android:title="@string/feature_flags_dashboard_title"> android:title="@string/feature_flags_dashboard_title">
<PreferenceCategory <PreferenceCategory
android:key="feature_flag_category" android:key="feature_flag_category"

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="firmware_version_screen"
android:title="@string/firmware_version" android:title="@string/firmware_version"
settings:keywords="@string/keywords_android_version"> settings:keywords="@string/keywords_android_version">

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="gesture_settings_screen"
android:title="@string/gesture_preference_title"> android:title="@string/gesture_preference_title">
<Preference <Preference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_global_actions_panel"
android:title="@string/global_actions_panel_title"> android:title="@string/global_actions_panel_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="graphics_driver_settings"
android:title="@string/graphics_driver_dashboard_title"> android:title="@string/graphics_driver_dashboard_title">
<ListPreference <ListPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="hardware_info_screen"
android:title="@string/hardware_info" android:title="@string/hardware_info"
settings:keywords="@string/keywords_model_and_hardware"> settings:keywords="@string/keywords_model_and_hardware">

View File

@@ -17,8 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/credentials_install" android:title="@string/credentials_install">
android:key="install_certificate_from_storage">
<PreferenceCategory <PreferenceCategory
android:key="certificate_types"> android:key="certificate_types">
@@ -76,4 +75,4 @@
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="language_and_input_settings_screen"
android:title="@string/language_settings" android:title="@string/language_settings"
settings:initialExpandedChildrenCount="3"> settings:initialExpandedChildrenCount="3">
@@ -39,8 +38,7 @@
android:key="physical_keyboard_pref" android:key="physical_keyboard_pref"
android:title="@string/physical_keyboard_title" android:title="@string/physical_keyboard_title"
android:summary="@string/summary_placeholder" android:summary="@string/summary_placeholder"
android:fragment="com.android.settings.inputmethod.PhysicalKeyboardFragment" android:fragment="com.android.settings.inputmethod.PhysicalKeyboardFragment"/>
settings:searchable="false"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory

View File

@@ -15,8 +15,7 @@
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/location_scanning_screen_title" android:title="@string/location_scanning_screen_title">
android:key="scanning_screen">
<SwitchPreference <SwitchPreference
android:title="@string/location_scanning_wifi_always_scanning_title" android:title="@string/location_scanning_wifi_always_scanning_title"

View File

@@ -17,9 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="location_settings" android:title="@string/location_settings_title">
android:title="@string/location_settings_title"
settings:keywords="@string/keywords_location">
<PreferenceCategory <PreferenceCategory
android:key="recent_location_requests" android:key="recent_location_requests"

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="module_licenses"
android:title="@string/module_license_title"> android:title="@string/module_license_title">
<PreferenceCategory <PreferenceCategory
android:key="module_licenses_category" android:key="module_licenses_category"

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="my_device_info_pref_screen"
android:title="@string/about_settings"> android:title="@string/about_settings">
<com.android.settingslib.widget.LayoutPreference <com.android.settingslib.widget.LayoutPreference
@@ -68,8 +67,7 @@
android:order="15" android:order="15"
android:title="@string/legal_information" android:title="@string/legal_information"
android:fragment="com.android.settings.LegalSettings" android:fragment="com.android.settings.LegalSettings"
settings:allowDividerAbove="true" settings:allowDividerAbove="true"/>
settings:searchable="false"/>
<!-- Regulatory labels --> <!-- Regulatory labels -->
<Preference <Preference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="network_and_internet_screen"
android:title="@string/network_dashboard_title" android:title="@string/network_dashboard_title"
settings:initialExpandedChildrenCount="5"> settings:initialExpandedChildrenCount="5">

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="nfc_payment_settings_screen"
android:title="@string/nfc_payment_settings_title"> android:title="@string/nfc_payment_settings_title">
<com.android.settings.nfc.NfcPaymentPreference <com.android.settings.nfc.NfcPaymentPreference

View File

@@ -18,7 +18,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/night_display_title" android:title="@string/night_display_title"
android:key="night_display_title"
settings:keywords="@string/keywords_display_night_display"> settings:keywords="@string/keywords_display_night_display">
<DropDownPreference <DropDownPreference
@@ -60,4 +59,4 @@
settings:allowDividerAbove="true" settings:allowDividerAbove="true"
settings:controller="com.android.settings.display.NightDisplayFooterPreferenceController"/> settings:controller="com.android.settings.display.NightDisplayFooterPreferenceController"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="notification_access_screen"
android:title="@string/manage_notification_access_title" android:title="@string/manage_notification_access_title"
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.NotificationAccessScreenPreferenceController" /> settings:controller="com.android.settings.applications.specialaccess.notificationaccess.NotificationAccessScreenPreferenceController" />

View File

@@ -15,7 +15,6 @@
--> -->
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="physical_keyboard_screen"
android:title="@string/physical_keyboard_title"> android:title="@string/physical_keyboard_title">
<!-- Additional preference screens are inserted here programmatically <!-- Additional preference screens are inserted here programmatically
with low order values to set the key map of each attached keyboard. --> with low order values to set the key map of each attached keyboard. -->

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_pick_up_screen"
android:title="@string/ambient_display_pickup_title"> android:title="@string/ambient_display_pickup_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -34,4 +33,4 @@
app:controller="com.android.settings.gestures.PickupGesturePreferenceController" app:controller="com.android.settings.gestures.PickupGesturePreferenceController"
app:allowDividerAbove="true" /> app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="picture_in_picture_screen"
android:title="@string/picture_in_picture_title" android:title="@string/picture_in_picture_title"
settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureScreenPreferenceController" /> settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureScreenPreferenceController" />

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="platform_compat_dashboard"
android:title="@string/platform_compat_dashboard_title"> android:title="@string/platform_compat_dashboard_title">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,9 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="power_usage_summary_screen" android:title="@string/power_usage_summary_title">
android:title="@string/power_usage_summary_title"
settings:keywords="@string/keywords_battery">
<com.android.settingslib.widget.LayoutPreference <com.android.settingslib.widget.LayoutPreference
android:key="battery_header" android:key="battery_header"

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="premium_sms_screen"
android:title="@string/premium_sms_access" android:title="@string/premium_sms_access"
settings:controller="com.android.settings.applications.specialaccess.premiumsms.PremiumSmsScreenPreferenceController" /> settings:controller="com.android.settings.applications.specialaccess.premiumsms.PremiumSmsScreenPreferenceController" />

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_prevent_ringing_screen"
android:title="@string/gesture_prevent_ringing_screen_title"> android:title="@string/gesture_prevent_ringing_screen_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -33,4 +32,4 @@
<PreferenceCategory <PreferenceCategory
android:key="gesture_prevent_ringing_category" android:key="gesture_prevent_ringing_category"
android:title="@string/gesture_prevent_ringing_title" /> android:title="@string/gesture_prevent_ringing_title" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,11 +17,10 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="connected_devices_screen_previously"
android:title="@string/connected_device_previously_connected_screen_title"> android:title="@string/connected_device_previously_connected_screen_title">
<PreferenceCategory <PreferenceCategory
android:key="saved_device_list" android:key="saved_device_list"
settings:controller="com.android.settings.connecteddevice.SavedDeviceGroupController"/> settings:controller="com.android.settings.connecteddevice.SavedDeviceGroupController"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="print_settings_screen"
android:title="@string/print_settings" android:title="@string/print_settings"
settings:keywords="@string/keywords_printing"> settings:keywords="@string/keywords_printing">

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="privacy_dashboard_page"
android:title="@string/privacy_dashboard_title" android:title="@string/privacy_dashboard_title"
settings:initialExpandedChildrenCount="4"> settings:initialExpandedChildrenCount="4">

View File

@@ -18,8 +18,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/reset_dashboard_title" android:title="@string/reset_dashboard_title">
android:key="reset_dashboard_fragment_screen">
<!-- Network reset --> <!-- Network reset -->
<com.android.settingslib.RestrictedPreference <com.android.settingslib.RestrictedPreference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="screen_pinning_settings_screen"
android:title="@string/screen_pinning_title"> android:title="@string/screen_pinning_title">
<SwitchPreference <SwitchPreference

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="security_dashboard_page"
android:title="@string/security_settings_title" android:title="@string/security_settings_title"
settings:initialExpandedChildrenCount="9"> settings:initialExpandedChildrenCount="9">
@@ -147,4 +146,4 @@
android:summary="@string/summary_placeholder" android:summary="@string/summary_placeholder"
android:fragment="com.android.settings.security.ScreenPinningSettings" /> android:fragment="com.android.settings.security.ScreenPinningSettings" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,9 +17,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="security_lockscreen_settings_screen" android:title="@string/lockscreen_settings_title">
android:title="@string/lockscreen_settings_title"
settings:keywords="@string/keywords_ambient_display_screen">
<PreferenceCategory <PreferenceCategory
android:key="lockscreen_what_to_show" android:key="lockscreen_what_to_show"

View File

@@ -18,7 +18,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/sound_settings" android:title="@string/sound_settings"
android:key="sound_settings"
settings:keywords="@string/keywords_sounds" settings:keywords="@string/keywords_sounds"
settings:initialExpandedChildrenCount="9"> settings:initialExpandedChildrenCount="9">

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="special_app_access_screen"
android:title="@string/special_access"> android:title="@string/special_access">
<Preference <Preference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="storage_dashboard_screen"
android:title="@string/storage_settings" android:title="@string/storage_settings"
android:orderingFromXml="false"> android:orderingFromXml="false">
<com.android.settings.deviceinfo.storage.StorageSummaryDonutPreference <com.android.settings.deviceinfo.storage.StorageSummaryDonutPreference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="system_dashboard_screen"
android:title="@string/header_category_system" android:title="@string/header_category_system"
settings:initialExpandedChildrenCount="4"> settings:initialExpandedChildrenCount="4">
@@ -76,4 +75,4 @@
android:targetClass="@string/additional_system_update_menu"/> android:targetClass="@string/additional_system_update_menu"/>
</Preference> </Preference>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="gesture_system_navigation_screen"
android:title="@string/system_navigation_title" android:title="@string/system_navigation_title"
settings:keywords="@string/keywords_system_navigation"/> settings:keywords="@string/keywords_system_navigation"/>

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_tap_screen"
android:title="@string/ambient_display_tap_screen_title"> android:title="@string/ambient_display_tap_screen_title">
<com.android.settings.widget.VideoPreference <com.android.settings.widget.VideoPreference
@@ -34,4 +33,4 @@
app:controller="com.android.settings.gestures.TapScreenGesturePreferenceController" app:controller="com.android.settings.gestures.TapScreenGesturePreferenceController"
app:allowDividerAbove="true" /> app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="tether_prefs_screen"
android:title="@string/tether_settings_title_all"> android:title="@string/tether_settings_title_all">
<com.android.settings.widget.FixedLineSummaryPreference <com.android.settings.widget.FixedLineSummaryPreference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="time_zone_settings_screen"
android:title="@string/date_time_set_timezone"> android:title="@string/date_time_set_timezone">
<PreferenceCategory <PreferenceCategory

View File

@@ -53,6 +53,7 @@
android:icon="@drawable/ic_homepage_battery" android:icon="@drawable/ic_homepage_battery"
android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary"
android:order="-90" android:order="-90"
settings:keywords="@string/keywords_battery"
settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/> settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/>
<Preference <Preference
@@ -79,6 +80,7 @@
android:icon="@drawable/ic_homepage_storage" android:icon="@drawable/ic_homepage_storage"
android:order="-60" android:order="-60"
android:fragment="com.android.settings.deviceinfo.StorageSettings" android:fragment="com.android.settings.deviceinfo.StorageSettings"
settings:keywords="@string/keywords_display"
settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/> settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/>
<Preference <Preference
@@ -96,6 +98,7 @@
android:icon="@drawable/ic_homepage_location" android:icon="@drawable/ic_homepage_location"
android:order="-50" android:order="-50"
android:fragment="com.android.settings.location.LocationSettings" android:fragment="com.android.settings.location.LocationSettings"
settings:keywords="@string/keywords_location"
settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/> settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/>
<Preference <Preference
@@ -114,6 +117,7 @@
android:icon="@drawable/ic_homepage_accounts" android:icon="@drawable/ic_homepage_accounts"
android:order="-30" android:order="-30"
android:fragment="com.android.settings.accounts.AccountDashboardFragment" android:fragment="com.android.settings.accounts.AccountDashboardFragment"
settings:keywords="@string/keywords_accounts"
settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/> settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/>
<Preference <Preference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="trust_agents"
android:title="@string/manage_trust_agents" android:title="@string/manage_trust_agents"
settings:controller="com.android.settings.security.trustagent.TrustAgentsPreferenceController"> settings:controller="com.android.settings.security.trustagent.TrustAgentsPreferenceController">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -15,7 +15,6 @@
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="tts_engine_picker_screen"
android:title="@string/tts_engine_preference_title"> android:title="@string/tts_engine_preference_title">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,14 +17,12 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="tts_settings_screen"
android:title="@string/tts_settings_title"> android:title="@string/tts_settings_title">
<com.android.settings.widget.GearPreference <com.android.settings.widget.GearPreference
android:key="tts_engine_preference" android:key="tts_engine_preference"
android:title="@string/tts_engine_preference_title" android:title="@string/tts_engine_preference_title"
android:fragment="com.android.settings.tts.TtsEnginePreferenceFragment" android:fragment="com.android.settings.tts.TtsEnginePreferenceFragment"/>
settings:searchable="false"/>
<ListPreference <ListPreference
android:key="tts_default_lang" android:key="tts_default_lang"

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="unrestricted_data_screen"
android:title="@string/unrestricted_data_saver" android:title="@string/unrestricted_data_saver"
settings:controller="com.android.settings.datausage.UnrestrictedDataAccessPreferenceController"> settings:controller="com.android.settings.datausage.UnrestrictedDataAccessPreferenceController">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -16,6 +16,5 @@
--> -->
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/usb_pref" android:title="@string/usb_pref">
android:key="usb_default_fragment">
</PreferenceScreen> </PreferenceScreen>

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="user_dict_list"
android:title="@string/user_dict_settings_title" android:title="@string/user_dict_settings_title"
settings:controller="com.android.settings.inputmethod.UserDictionaryListPreferenceController"> settings:controller="com.android.settings.inputmethod.UserDictionaryListPreferenceController">

View File

@@ -16,7 +16,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="virtual_keyboard_category"
android:title="@string/virtual_keyboard_category"> android:title="@string/virtual_keyboard_category">
<!-- Enabled input method list will be populated programmatically here. --> <!-- Enabled input method list will be populated programmatically here. -->
<Preference <Preference

View File

@@ -18,6 +18,5 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="vr_listener_settings"
android:title="@string/vr_listeners_title" android:title="@string/vr_listeners_title"
settings:controller="com.android.settings.applications.specialaccess.vrlistener.VrListenerScreenPreferenceController" /> settings:controller="com.android.settings.applications.specialaccess.vrlistener.VrListenerScreenPreferenceController" />

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="wifi_configure_settings_screen"
android:title="@string/wifi_configure_settings_preference_title"> android:title="@string/wifi_configure_settings_preference_title">
<SwitchPreference <SwitchPreference

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="wifi_display_settings_screen"
android:title="@string/wifi_display_settings_title" android:title="@string/wifi_display_settings_title"
settings:keywords="@string/keywords_display_cast_screen"> settings:keywords="@string/keywords_display_cast_screen">

View File

@@ -18,9 +18,7 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="wifi_tether_settings_screen" android:title="@string/wifi_hotspot_checkbox_text">
android:title="@string/wifi_hotspot_checkbox_text"
settings:searchable="false">
<com.android.settings.wifi.tether.WifiTetherSsidPreference <com.android.settings.wifi.tether.WifiTetherSsidPreference
android:key="wifi_tether_network_name" android:key="wifi_tether_network_name"

View File

@@ -17,5 +17,4 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="zen_access_screen"
android:title="@string/manage_zen_access_title" /> android:title="@string/manage_zen_access_title" />

View File

@@ -16,7 +16,6 @@
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="zen_mode_automation_settings_page"
android:title="@string/zen_mode_automation_settings_page_title" > android:title="@string/zen_mode_automation_settings_page_title" >
<PreferenceCategory <PreferenceCategory

View File

@@ -17,5 +17,4 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="zen_mode_bypassing_apps_screen"
android:title="@string/zen_mode_bypassing_apps_title" /> android:title="@string/zen_mode_bypassing_apps_title" />

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="zen_mode_people_settings_page"
android:title="@string/zen_category_people" > android:title="@string/zen_category_people" >
<PreferenceCategory <PreferenceCategory

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="zen_mode_restrict_settings_page"
android:title="@string/zen_mode_restrict_notifications_title"> android:title="@string/zen_mode_restrict_notifications_title">
<PreferenceCategory <PreferenceCategory

View File

@@ -18,7 +18,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="zen_mode_settings"
android:title=" "> android:title=" ">
<!-- Turn on DND button --> <!-- Turn on DND button -->

View File

@@ -17,7 +17,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:key="zen_mode_sound_vibration_settings_page"
android:title="@string/zen_category_exceptions" > android:title="@string/zen_category_exceptions" >
<PreferenceCategory <PreferenceCategory

View File

@@ -31,7 +31,7 @@ public class AutoclickPreferenceController extends BasePreferenceController {
@Override @Override
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return AVAILABLE_UNSEARCHABLE; return AVAILABLE;
} }
@Override @Override

View File

@@ -31,8 +31,7 @@ public class TopLevelAccessibilityPreferenceController extends BasePreferenceCon
@Override @Override
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return mContext.getResources().getBoolean(R.bool.config_show_top_level_accessibility) return mContext.getResources().getBoolean(R.bool.config_show_top_level_accessibility)
? AVAILABLE_UNSEARCHABLE ? AVAILABLE : UNSUPPORTED_ON_DEVICE;
: UNSUPPORTED_ON_DEVICE;
} }
} }

View File

@@ -36,7 +36,7 @@ public class TopLevelAccountEntryPreferenceController extends BasePreferenceCont
@Override @Override
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return AVAILABLE_UNSEARCHABLE; return AVAILABLE;
} }
@Override @Override

View File

@@ -63,7 +63,7 @@ public class SpecialAppAccessPreferenceController extends BasePreferenceControll
@Override @Override
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return AVAILABLE_UNSEARCHABLE; return AVAILABLE;
} }
@Override @Override

View File

@@ -31,7 +31,6 @@ public class DataSaverController extends BasePreferenceController {
@AvailabilityStatus @AvailabilityStatus
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return mContext.getResources().getBoolean(R.bool.config_show_data_saver) return mContext.getResources().getBoolean(R.bool.config_show_data_saver)
? AVAILABLE_UNSEARCHABLE ? AVAILABLE : UNSUPPORTED_ON_DEVICE;
: UNSUPPORTED_ON_DEVICE;
} }
} }

View File

@@ -31,9 +31,7 @@ public class NotificationAccessController extends BasePreferenceController {
@Override @Override
public int getAvailabilityStatus() { public int getAvailabilityStatus() {
return !ActivityManager.isLowRamDeviceStatic() return !ActivityManager.isLowRamDeviceStatic() ? AVAILABLE : UNSUPPORTED_ON_DEVICE;
? AVAILABLE_UNSEARCHABLE
: UNSUPPORTED_ON_DEVICE;
} }
public static boolean hasAccess(Context context, ComponentName cn) { public static boolean hasAccess(Context context, ComponentName cn) {

Some files were not shown because too many files have changed in this diff Show More