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

Commit 3a2b6756 authored by Weichin Weng's avatar Weichin Weng Committed by android-build-merger
Browse files

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

am: 26dfa76c

Change-Id: I1a652bb65c219a00f1469d235cb8b3adbe490188
parents 145593af 26dfa76c
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);
      }