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

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

Removing flag fix_pairing_failure_reason_from_remote

Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.fix_pairing_failure_reason_from_remote
Bug: 320745565
Change-Id: Ib291c9a663275d9017444af6d6d306b97c670598
parent 541d10da
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -29,13 +29,6 @@ flag {
    bug: "314331379"
}

flag {
    name: "fix_pairing_failure_reason_from_remote"
    namespace: "bluetooth"
    description: "Correct the pairing failure reason reported from remote"
    bug: "320745565"
}

flag {
    name: "fix_le_oob_pairing_bypass"
    namespace: "bluetooth"
+1 −6
Original line number Diff line number Diff line
@@ -535,12 +535,7 @@ void smp_proc_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {
              p_cb->rcvd_cmd_len);
    p_cb->status = SMP_INVALID_PARAMETERS;
  } else {
    if (com::android::bluetooth::flags::
            fix_pairing_failure_reason_from_remote()) {
    p_cb->status = static_cast<tSMP_STATUS>(p_data->p_data[0]);
    } else {
      p_cb->status = p_data->status;
    }
  }

  /* Cancel pending auth complete timer if set */