Change the keys in the Language and Input screen for the gesture and tts-output settings so they can be disabled in search. Then change the preference controllers to take a key as input to avoid crashes on the other screens with these settings. Test: make RunSettingsRoboTests Bug: 33701673 Change-Id: Ifeb2a2d34a3efded3f0a9ba02ac76fd6f8ffd087 Merged-In: I8bc0776131fcac5a6edf7e8271bc53252c2fc719
58 lines
2.2 KiB
XML
58 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2015 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:title="@string/configure_notification_settings"
|
|
android:key="configure_notification_settings">
|
|
|
|
<PreferenceCategory
|
|
android:key="dashboard_tile_placeholder"
|
|
android:order="1"/>
|
|
|
|
<!-- Notification badging -->
|
|
<SwitchPreference
|
|
android:key="notification_badging"
|
|
android:title="@string/notification_badging_title"/>
|
|
|
|
<!-- Pulse notification light -->
|
|
<SwitchPreference
|
|
android:key="notification_pulse"
|
|
android:title="@string/notification_pulse_title"/>
|
|
|
|
<!-- When device is locked -->
|
|
<com.android.settings.notification.RestrictedDropDownPreference
|
|
android:key="lock_screen_notifications"
|
|
android:title="@string/lock_screen_notifications_title"
|
|
android:summary="@string/summary_placeholder"/>
|
|
|
|
<SwitchPreference
|
|
android:key="gesture_swipe_down_fingerprint_notifications"
|
|
android:title="@string/fingerprint_swipe_for_notifications_title"
|
|
android:summary="@string/fingerprint_swipe_for_notifications_summary"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="lock_screen_notifications_profile_header"
|
|
android:title="@string/profile_section_header">
|
|
|
|
<com.android.settings.notification.RestrictedDropDownPreference
|
|
android:key="lock_screen_notifications_profile"
|
|
android:title="@string/lock_screen_notifications_title"
|
|
android:summary="@string/summary_placeholder"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|