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

Commit f0a22ab3 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Removing flag ignore_bond_type_for_le

Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.ignore_bond_type_for_le
Bug: 319695663
Change-Id: I521054327aca3f386fe66030eed227a81715d878
parent 8b946957
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
package: "com.android.bluetooth.flags"
container: "com.android.btservices"

flag {
    name: "ignore_bond_type_for_le"
    namespace: "bluetooth"
    description: "Bond type is not applicable for LE SMP pairing"
    bug: "319695663"
}

flag {
    name: "force_bredr_for_sdp_retry"
    namespace: "bluetooth"
+0 −4
Original line number Diff line number Diff line
@@ -3474,10 +3474,6 @@ static void btif_dm_ble_key_notif_evt(tBTA_DM_SP_KEY_NOTIF* p_ssp_key_notif) {

static bool btif_dm_ble_is_temp_pairing(RawAddress& bd_addr, bool ctkd) {
  if (btm_get_bond_type_dev(bd_addr) == BOND_TYPE_TEMPORARY) {
    if (!com::android::bluetooth::flags::ignore_bond_type_for_le()) {
      return true;
    }

    return ctkd;
  }