diff options
author | Sandeep Siddhartha <sansid@google.com> | 2014-08-25 12:50:35 -0700 |
---|---|---|
committer | Sandeep Siddhartha <sansid@google.com> | 2014-08-27 10:23:35 -0700 |
commit | ee16bdc33d32e923032073919ded1f2efe9677e1 (patch) | |
tree | 6e0bcdf79643bb6f2538d4dc7f98f83bd4ef6a42 /tests/VoiceInteraction | |
parent | 19d431f330bf1d89c92c0971dad5fa8f5950b16d (diff) | |
download | frameworks_base-ee16bdc33d32e923032073919ded1f2efe9677e1.zip frameworks_base-ee16bdc33d32e923032073919ded1f2efe9677e1.tar.gz frameworks_base-ee16bdc33d32e923032073919ded1f2efe9677e1.tar.bz2 |
Address API review comments
- Make Callback an abstract class
- Split manage intents into 3 different methods
- Remove RECOGNITION_FLAGS_NONE
Bug: 17255602
Change-Id: I1329f889bb2ab35938f42d2ecfe755d2b17ec542
Diffstat (limited to 'tests/VoiceInteraction')
-rw-r--r-- | tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java | 3 |
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: |