Loading tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java +2 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import android.content.Intent; import android.os.Bundle; import android.service.voice.AlwaysOnHotwordDetector; import android.service.voice.AlwaysOnHotwordDetector.Callback; import android.service.voice.AlwaysOnHotwordDetector.TriggerAudio; import android.service.voice.AlwaysOnHotwordDetector.EventPayload; import android.service.voice.VoiceInteractionService; import android.util.Log; Loading @@ -37,7 +37,7 @@ public class MainInteractionService extends VoiceInteractionService { } @Override public void onDetected(TriggerAudio triggerAudio) { public void onDetected(EventPayload eventPayload) { Log.i(TAG, "onDetected"); } Loading Loading
tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java +2 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import android.content.Intent; import android.os.Bundle; import android.service.voice.AlwaysOnHotwordDetector; import android.service.voice.AlwaysOnHotwordDetector.Callback; import android.service.voice.AlwaysOnHotwordDetector.TriggerAudio; import android.service.voice.AlwaysOnHotwordDetector.EventPayload; import android.service.voice.VoiceInteractionService; import android.util.Log; Loading @@ -37,7 +37,7 @@ public class MainInteractionService extends VoiceInteractionService { } @Override public void onDetected(TriggerAudio triggerAudio) { public void onDetected(EventPayload eventPayload) { Log.i(TAG, "onDetected"); } Loading