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

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

Merge changes from topic "revert-1949059-fix_le_audio_reconnect_issue-TGMRFBPVYG" am: e39cb202

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

Change-Id: I2e91b5f908a3461b2e4a174e1fd11dcd9b2aa76d
parents 2dd3ce73 e39cb202
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -580,7 +580,6 @@ void bta_gattc_close(tBTA_GATTC_CLCB* p_clcb, const tBTA_GATTC_DATA* p_data) {

  if (p_data->hdr.event == BTA_GATTC_API_CLOSE_EVT) {
    GATT_Disconnect(p_data->hdr.layer_specific);
    cb_data.close.reason = GATT_CONN_TERMINATE_LOCAL_HOST;
    LOG_DEBUG("Local close event client_if:%hu conn_id:%hu reason:%s",
              cb_data.close.client_if, cb_data.close.conn_id,
              gatt_disconnection_reason_text(
+0 −5
Original line number Diff line number Diff line
@@ -1258,11 +1258,6 @@ class LeAudioClientImpl : public LeAudioClient {
        group_remove_node(group, address, true);
      }
      leAudioDevices_.Remove(address);
      return;
    }
    /* Add device into BG connection for non-local initiated disconnection */
    if (reason != GATT_CONN_TERMINATE_LOCAL_HOST) {
      BTA_GATTC_Open(gatt_if_, address, false, false);
    }
  }