summaryrefslogtreecommitdiffstats
path: root/tests/VoiceInteraction
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-08-29 19:14:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-29 19:14:33 +0000
commit7f31f82432b4d5a63b7f0a993a786250187c0a74 (patch)
tree7ac81d214c7e0d7bfb92e04b85163a5c8b486552 /tests/VoiceInteraction
parentc51cc683bc4618fbdd20572ba63e1051b14ad08c (diff)
parent80e8b901b344bf6cf206aa90ff96efb052af966c (diff)
downloadframeworks_base-7f31f82432b4d5a63b7f0a993a786250187c0a74.zip
frameworks_base-7f31f82432b4d5a63b7f0a993a786250187c0a74.tar.gz
frameworks_base-7f31f82432b4d5a63b7f0a993a786250187c0a74.tar.bz2
am 601d017c: am efe6c903: am cffbcb8a: Merge "Address API review comments" into lmp-dev
* commit '601d017c2209f0a7930503a0bc97b4e762e4e8a1': 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 e1a579c..1f01461 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: