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

Commit 7b931b96 authored by Partha Sarathi Saha's avatar Partha Sarathi Saha Committed by Automerger Merge Worker
Browse files

le_audio : Fix issue of LE Audio not connecting after remote disconnect am:...

le_audio : Fix issue of LE Audio not connecting after remote disconnect am: 2c0dc3ce am: 9600ed7e am: 0a70667d

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

Change-Id: I0dbe428b07cd2c3ad67a610cd83d313d7a095a02
parents f79893bd 0a70667d
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1258,6 +1258,11 @@ class LeAudioClientImpl : public LeAudioClient {
        group_remove_node(group, address, true);
        group_remove_node(group, address, true);
      }
      }
      leAudioDevices_.Remove(address);
      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);
    }
    }
  }
  }