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

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

Merge "Add cancel discovery before BLE get remote services." am: 7fc3d1cb

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

Change-Id: I0afe01b25eb439814602e683e79171ad1b65238c
parents 29502bd9 7fc3d1cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2688,6 +2688,8 @@ static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) {
      state = BT_BOND_STATE_NONE;
    } else {
      btif_dm_save_ble_bonding_keys(bdaddr);
      // Ensure inquiry is stopped before attempting service discovery
      btif_dm_cancel_discovery();
      btif_dm_get_remote_services(bd_addr, BT_TRANSPORT_LE);
    }
  } else {