Loading core/java/android/server/BluetoothService.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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)) { Loading Loading
core/java/android/server/BluetoothService.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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)) { Loading