Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee1f6557 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: fix call audio hearing aid

Remove assert added by mistake on a valid configuration.

Bug: 123551930
Test: place a call with an hearing aid device.
Change-Id: Ib279d1bea460026da45ffeb5a69910ac0c3d3c4f
parent 0684bf1a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -555,7 +555,6 @@ uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, ui
        muteWaitMs = setOutputDevices(mPrimaryOutput, rxDevices, true, delayMs);
    } else { // create RX path audio patch
        mCallRxPatch = createTelephonyPatch(true /*isRx*/, rxDevices.itemAt(0), delayMs);
        ALOG_ASSERT(createTxPatch, "No Tx Patch will be created, nor legacy routing done");
    }
    if (createTxPatch) { // create TX path audio patch
        mCallTxPatch = createTelephonyPatch(false /*isRx*/, txSourceDevice, delayMs);