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

Commit 5b99700a authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am fbeb8230: am dabb19fc: Merge "Increase the setup-sdp delay to cover for all...

am fbeb8230: am dabb19fc: Merge "Increase the setup-sdp delay to cover for all the devices." into jb-dev

* commit 'fbeb8230':
  Increase the setup-sdp delay to cover for all the devices.
parents 99c38316 fbeb8230
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -530,7 +530,7 @@ public class BluetoothService extends IBluetooth.Stub {
        // Bluetooth stack needs a small delay here before adding
        // SDP records, otherwise dbus stalls for over 30 seconds 1 out of 50 runs
        try {
            Thread.sleep(20);
            Thread.sleep(50);
        } catch (InterruptedException e) {}
        updateSdpRecords();
        return true;
@@ -602,7 +602,7 @@ public class BluetoothService extends IBluetooth.Stub {
        // Bluetooth stack need some a small delay here before adding more
        // SDP records, otherwise dbus stalls for over 30 seconds 1 out of 50 runs
        try {
            Thread.sleep(20);
            Thread.sleep(50);
        } catch (InterruptedException e) {}

        if (R.getBoolean(com.android.internal.R.bool.config_bluetooth_default_profiles)) {