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

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

Removing flag correct_bond_type_of_loaded_devices

Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.correct_bond_type_of_loaded_devices
Bug: 319530790
Change-Id: Ie0dd6b69ad310c17739244bfa7047aa6c035847b
parent 485ce9cc
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -15,13 +15,6 @@ flag {
    bug: "333634398"
}

flag {
    name: "correct_bond_type_of_loaded_devices"
    namespace: "bluetooth"
    description: "Mark the bond type of loaded device as persistent"
    bug: "319530790"
}

flag {
    name: "bluffs_mitigation"
    namespace: "bluetooth"
+1 −3
Original line number Diff line number Diff line
@@ -125,9 +125,7 @@ void BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class,
  p_dev_rec->sec_rec.link_key_type = key_type;
  p_dev_rec->sec_rec.pin_code_length = pin_length;

  if (com::android::bluetooth::flags::correct_bond_type_of_loaded_devices()) {
  p_dev_rec->sec_rec.bond_type = BOND_TYPE_PERSISTENT;
  }

  if (pin_length >= 16 || key_type == BTM_LKEY_TYPE_AUTH_COMB ||
      key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) {