Merge "Increase the setup-sdp delay to cover for all the devices." into jb-dev
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user