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

Commit 592c1217 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "HearingAid: Fix the data channel open fail case during connecting" am:...

Merge "HearingAid: Fix the data channel open fail case during connecting" am: b6e8f65a am: 0b81222e am: 30fa2081

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2005471

Change-Id: I302afda2c0423d06d8e0cad60bf6eb6a2907d8e7
parents 8661e633 30fa2081
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1332,9 +1332,8 @@ class HearingAidImpl : public HearingAid {
        LOG(INFO) << __func__
                  << ": GAP_EVT_CONN_CLOSED: " << hearingDevice->address
                  << ", playback_started=" << hearingDevice->playback_started
                  << ", connecting_actively="
                  << hearingDevice->connecting_actively;
        if (hearingDevice->connecting_actively) {
                  << ", accepting_audio=" << hearingDevice->accepting_audio;
        if (!hearingDevice->accepting_audio) {
          /* Disconnect connection when data channel is not available */
          BTA_GATTC_Close(hearingDevice->conn_id);
        } else {