diff options
author | Barnaby James <bjames@google.com> | 2014-08-09 14:10:14 -0700 |
---|---|---|
committer | Barnaby James <bjames@google.com> | 2014-08-09 21:24:52 -0700 |
commit | 0134fd8139611964cb8f58198c7b7a923d62161d (patch) | |
tree | 82f051fcf12b4f30543c6f315c1746561808387b /tests/VoiceInteraction/AndroidManifest.xml | |
parent | 6adf47eacce53a5808fc06d80908a3095dc3e711 (diff) | |
download | frameworks_base-0134fd8139611964cb8f58198c7b7a923d62161d.zip frameworks_base-0134fd8139611964cb8f58198c7b7a923d62161d.tar.gz frameworks_base-0134fd8139611964cb8f58198c7b7a923d62161d.tar.bz2 |
Make Test Voice Interactor support new requirements.
Add settings activity and stub RecognizerService to voice interactor test.
Change-Id: I3c3dda7d2c30eac5e0b889c0c7305dc8f4dfbcb9
Diffstat (limited to 'tests/VoiceInteraction/AndroidManifest.xml')
-rw-r--r-- | tests/VoiceInteraction/AndroidManifest.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/VoiceInteraction/AndroidManifest.xml b/tests/VoiceInteraction/AndroidManifest.xml index c328b3c..06d31a4 100644 --- a/tests/VoiceInteraction/AndroidManifest.xml +++ b/tests/VoiceInteraction/AndroidManifest.xml @@ -12,7 +12,17 @@ <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> + <activity android:name="SettingsActivity" + android:label="Voice Interaction Settings" + android:excludeFromRecents="true" + android:noHistory="true"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </activity> <service android:name="MainInteractionService" + android:label="Test Voice Interaction Service" android:permission="android.permission.BIND_VOICE_INTERACTION" android:process=":interactor"> <meta-data android:name="android.voice_interaction" @@ -25,6 +35,14 @@ android:permission="android.permission.BIND_VOICE_INTERACTION" android:process=":session"> </service> + <service android:name="MainRecognitionService" + android:label="Test Voice Interaction Service"> + <intent-filter> + <action android:name="android.speech.RecognitionService" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + <meta-data android:name="android.speech" android:resource="@xml/recognition_service" /> + </service> <activity android:name="TestInteractionActivity" android:label="Voice Interaction Target" android:theme="@android:style/Theme.Material.Light.Voice"> <intent-filter> |