summaryrefslogtreecommitdiff
path: root/tests/VoiceInteraction
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-08-29 18:49:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-29 18:49:40 +0000
commit80e8b901b344bf6cf206aa90ff96efb052af966c (patch)
treea0eadafc5728106920585df49dbe356acec169eb /tests/VoiceInteraction
parentec187b726b9227239f7a678e0872f52f53dfa271 (diff)
parent3e3a7a4c08134d97388681e12b0d363b49ee31e7 (diff)
am efe6c903: am cffbcb8a: Merge "Address API review comments" into lmp-dev
* commit 'efe6c9032d1a1463aeda62e034c7fe42db5866e9': Address API review comments
Diffstat (limited to 'tests/VoiceInteraction')
-rw-r--r--tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
index e1a579c7a00f..1f014615dc66 100644
--- a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
+++ b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
@@ -92,8 +92,7 @@ public class MainInteractionService extends VoiceInteractionService {
break;
case AlwaysOnHotwordDetector.STATE_KEYPHRASE_UNENROLLED:
Log.i(TAG, "STATE_KEYPHRASE_UNENROLLED");
- Intent enroll = mHotwordDetector.getManageIntent(
- AlwaysOnHotwordDetector.MANAGE_ACTION_ENROLL);
+ Intent enroll = mHotwordDetector.createIntentToEnroll();
Log.i(TAG, "Need to enroll with " + enroll);
break;
case AlwaysOnHotwordDetector.STATE_KEYPHRASE_ENROLLED: