diff options
Diffstat (limited to 'tests/VoiceInteraction')
-rw-r--r-- | tests/VoiceInteraction/res/layout/main.xml | 6 | ||||
-rw-r--r-- | tests/VoiceInteraction/res/xml/interaction_service.xml | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/VoiceInteraction/res/layout/main.xml b/tests/VoiceInteraction/res/layout/main.xml index 092d37d..34a7563 100644 --- a/tests/VoiceInteraction/res/layout/main.xml +++ b/tests/VoiceInteraction/res/layout/main.xml @@ -34,6 +34,12 @@ android:text="@string/asyncStructure" /> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" + android:assistBlocked="true" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="This won't be included in assist." + /> + </LinearLayout> diff --git a/tests/VoiceInteraction/res/xml/interaction_service.xml b/tests/VoiceInteraction/res/xml/interaction_service.xml index ce5669c..789493a 100644 --- a/tests/VoiceInteraction/res/xml/interaction_service.xml +++ b/tests/VoiceInteraction/res/xml/interaction_service.xml @@ -20,4 +20,5 @@ <voice-interaction-service xmlns:android="http://schemas.android.com/apk/res/android" android:sessionService="com.android.test.voiceinteraction.MainInteractionSessionService" android:recognitionService="com.android.test.voiceinteraction.MainRecognitionService" - android:settingsActivity="com.android.test.voiceinteraction.SettingsActivity" /> + android:settingsActivity="com.android.test.voiceinteraction.SettingsActivity" + android:supportsAssistGesture="true" /> |