summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-08-29 06:22:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-29 06:22:08 +0000
commit503a102143e7ecd25721313a4edad613a3688ada (patch)
tree782dd761810de7544fbbed7aae88be2b4c2d3a76 /tests
parenta9aa9f045836ca03b378653728476f9a298f5260 (diff)
parentee16bdc33d32e923032073919ded1f2efe9677e1 (diff)
downloadframeworks_base-503a102143e7ecd25721313a4edad613a3688ada.zip
frameworks_base-503a102143e7ecd25721313a4edad613a3688ada.tar.gz
frameworks_base-503a102143e7ecd25721313a4edad613a3688ada.tar.bz2
Merge "Address API review comments" into lmp-dev
Diffstat (limited to 'tests')
-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: