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

Commit 8ac1f1b2 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

gatt: Notify all gatt clients about encryption change

Incoming LeAudio gatt services are very interested into
encryption state.

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: manual

Change-Id: Ie2a754eb92a60bd72427653ca694325dbff6a675
parent 06d538bc
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1151,14 +1151,6 @@ static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, const RawAddress& bda) {

  if (p_clcb == NULL) return;

  /* filter this event just for BTA HH LE GATT client,
   * In the future, if we want to enable encryption complete event
   * for all GATT clients, we can remove this code
   */
  if (!bta_hh_le_is_hh_gatt_if(gattc_if)) {
    return;
  }

  VLOG(1) << __func__ << ": cif:" << +gattc_if;

  do_in_main_thread(FROM_HERE,