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

Commit 541d10da authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Removing flag force_bredr_for_sdp_retry

Test: mmm packages/modules/Bluetooth
Flag: com.android.bluetooth.flags.force_bredr_for_sdp_retry
Bug: 326656580
Change-Id: I98ca045b016c89dd27a6d3a4d03f37aee9b79dd4
parent f0a22ab3
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: "force_bredr_for_sdp_retry"
    namespace: "bluetooth"
    description: "Force BR/EDR transport for retrying SDP service discovery"
    bug: "326656580"
}

flag {
    name: "do_not_replace_existing_cod_with_uncategorized_cod"
    namespace: "bluetooth"
+1 −5
Original line number Diff line number Diff line
@@ -1697,11 +1697,7 @@ static void btif_on_service_discovery_results(
    if (pairing_cb.sdp_attempts) {
      log::warn("SDP failed after bonding re-attempting for {}", bd_addr);
      pairing_cb.sdp_attempts++;
      if (com::android::bluetooth::flags::force_bredr_for_sdp_retry()) {
      btif_dm_get_remote_services(bd_addr, BT_TRANSPORT_BR_EDR);
      } else {
        btif_dm_get_remote_services(bd_addr, BT_TRANSPORT_AUTO);
      }
    } else {
      log::warn("SDP triggered by someone failed when bonding");
    }