Passing AudioFlinger to VisualQueryDetectionService
Allow VisualQueryDetectionService to use the audio flinger binder passed from the HotwordDetectionConnection. Bug: 267134219 Test: manual & atest CtsVoiceInteractionTestCases Change-Id: Iea238119f02786ad2eaf1cbb4f6c6856f02b5c55
This commit is contained in:
committed by
charleschen
parent
bf0224ca1d
commit
346357bd18
@@ -26,6 +26,7 @@ import android.content.ContentCaptureOptions;
|
||||
import android.content.Intent;
|
||||
import android.hardware.soundtrigger.SoundTrigger;
|
||||
import android.media.AudioFormat;
|
||||
import android.media.AudioSystem;
|
||||
import android.os.IBinder;
|
||||
import android.os.IRemoteCallback;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
@@ -129,7 +130,7 @@ public abstract class VisualQueryDetectionService extends Service
|
||||
|
||||
@Override
|
||||
public void updateAudioFlinger(IBinder audioFlinger) {
|
||||
Log.v(TAG, "Ignore #updateAudioFlinger");
|
||||
AudioSystem.setAudioFlingerBinder(audioFlinger);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user