Disable AssistGestureSetting search if not supported

Change-Id: Id5f79506635592d98783b2b99b7ee09dd223c43c
Fixes: 64066820
Test: robotests
This commit is contained in:
Fan Zhang
2017-07-31 15:46:46 -07:00
parent 56538f1775
commit eef16a8b0f
3 changed files with 28 additions and 10 deletions

View File

@@ -15,10 +15,11 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/assist_gesture_title">
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="gesture_assist_settings_page"
android:title="@string/assist_gesture_title">
<com.android.settings.widget.VideoPreference
android:key="gesture_assist_video"
@@ -28,6 +29,6 @@
<SwitchPreference
android:key="gesture_assist"
android:title="@string/assist_gesture_title"
app:keywords="@string/keywords_assist_gesture_launch"/>
app:keywords="@string/keywords_assist_gesture_launch" />
</PreferenceScreen>