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

Commit 26dfa76c authored by Weichin Weng's avatar Weichin Weng Committed by Gerrit Code Review
Browse files

Merge "Reset GATT cache file if connection state is unpairing"

parents fe179b7d 50816873
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2767,6 +2767,9 @@ static void bta_dm_acl_change(bool is_new, const RawAddress& bd_addr,
                bta_dm_cb.device_list.peer_device[i].peer_bdaddr))
          issue_unpair_cb = true;

        /* remove all cached GATT information */
        BTA_GATTC_Refresh(bd_addr);

        APPL_TRACE_DEBUG("%s: Unpairing: issue unpair CB = %d ", __func__,
                         issue_unpair_cb);
      }