summaryrefslogtreecommitdiffstats
path: root/tests/VoiceInteraction
diff options
context:
space:
mode:
authorDharmesh Mokani <mokani@google.com>2014-09-04 12:50:43 -0700
committerDharmesh Mokani <mokani@google.com>2014-09-04 16:43:17 -0700
commitae686a51288031271685861436f7c67201791d09 (patch)
tree498e92bc79e8d0ce9575ff20da0e2f9f7ab478ac /tests/VoiceInteraction
parent70afe9ee84a41fda72f898716da8485e8dd419d9 (diff)
downloadframeworks_base-ae686a51288031271685861436f7c67201791d09.zip
frameworks_base-ae686a51288031271685861436f7c67201791d09.tar.gz
frameworks_base-ae686a51288031271685861436f7c67201791d09.tar.bz2
Address API review comment:AlwaysOnHotwordDetector
- Methods creating an Intent should be named createFooIntent Bug: 17389896 Change-Id: Icb9c9f9ca3a41fca09f79ff22b99988a1ded331f
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: