summaryrefslogtreecommitdiffstats
path: root/tests/VoiceInteraction
diff options
context:
space:
mode:
authorDharmesh Mokani <mokani@google.com>2014-09-05 17:18:26 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-05 17:18:26 +0000
commit140616a89c0ecadd22758e42fbca99c74773db84 (patch)
tree084ee2892d4689ae54b206924c670b969cf8e584 /tests/VoiceInteraction
parent6de978d01777a41c4b3e02ef2077224e8eec3057 (diff)
parent1ba5f6a2d1eeeea39894c977b8313ab21d9feed2 (diff)
downloadframeworks_base-140616a89c0ecadd22758e42fbca99c74773db84.zip
frameworks_base-140616a89c0ecadd22758e42fbca99c74773db84.tar.gz
frameworks_base-140616a89c0ecadd22758e42fbca99c74773db84.tar.bz2
am 6feba6b6: am 0b230ea6: am efd4ea01: Merge "Address API review comment:AlwaysOnHotwordDetector" into lmp-dev
* commit '6feba6b61ecddcb93a2b33a2ea52daad6cf70bd5': Address API review comment:AlwaysOnHotwordDetector
Diffstat (limited to 'tests/VoiceInteraction')
-rw-r--r--tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
index 1f01461..4639114 100644
--- a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
+++ b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java
@@ -92,7 +92,7 @@ public class MainInteractionService extends VoiceInteractionService {
break;
case AlwaysOnHotwordDetector.STATE_KEYPHRASE_UNENROLLED:
Log.i(TAG, "STATE_KEYPHRASE_UNENROLLED");
- Intent enroll = mHotwordDetector.createIntentToEnroll();
+ Intent enroll = mHotwordDetector.createEnrollIntent();
Log.i(TAG, "Need to enroll with " + enroll);
break;
case AlwaysOnHotwordDetector.STATE_KEYPHRASE_ENROLLED: