AudioGroup: Do not specify AudioEffect io handle on client side
The record sessionId should be sufficient. Besides the
record could have moved to a different io handle in the
interim.
Test: compiles
Bug: 128519136
Change-Id: Ic5235acd447e7714314217a2fdfe481a1a01833d
diff --git a/src/jni/rtp/AudioGroup.cpp b/src/jni/rtp/AudioGroup.cpp
index c1bd4b2..aa3fc66 100644
--- a/src/jni/rtp/AudioGroup.cpp
+++ b/src/jni/rtp/AudioGroup.cpp
@@ -847,7 +847,7 @@
0,
0,
record->getSessionId(),
- record->getInput());
+ AUDIO_IO_HANDLE_NONE); // record sessionId is sufficient.
status_t status = aec->initCheck();
if (status == NO_ERROR || status == ALREADY_EXISTS) {
aec->setEnabled(true);