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

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

Remove flag use_local_oob_extended_command

Change-Id: Ic9603e1ab9f7ef2c2fce19eaec2a0d9a93350985
Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.use_local_oob_extended_command
Bug: 342250775
parent 3993cfb6
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -31,16 +31,6 @@ flag {
    }
}

flag {
    name: "use_local_oob_extended_command"
    namespace: "bluetooth"
    description: "Use HCI Read Local OOB Extended Data command to generate local OOB when Secure Connections is supported by the controller"
    bug: "342250775"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "pairing_name_discovery_addresss_mismatch"
    namespace: "bluetooth"
+1 −2
Original line number Diff line number Diff line
@@ -1238,8 +1238,7 @@ void BTM_PasskeyReqReply(tBTM_STATUS res, const RawAddress& bd_addr, uint32_t pa
 *
 ******************************************************************************/
void BTM_ReadLocalOobData(void) {
  if (com::android::bluetooth::flags::use_local_oob_extended_command() &&
      bluetooth::shim::GetController()->SupportsSecureConnections()) {
  if (bluetooth::shim::GetController()->SupportsSecureConnections()) {
    btsnd_hcic_read_local_oob_extended_data();
  } else {
    btsnd_hcic_read_local_oob_data();