am 77239140: am 0e090309: Relax the requirement of making a DBUS call for creating the Bluez Device.

Merge commit '772391402f26f418eee70039e89c0b6a8a9d69eb' into kraken

* commit '772391402f26f418eee70039e89c0b6a8a9d69eb':
  Relax the requirement of making a DBUS call for creating the Bluez Device.
This commit is contained in:
Jaikumar Ganesh
2010-03-30 10:36:54 -07:00
committed by Android Git Automerger

View File

@@ -1406,7 +1406,9 @@ public class BluetoothService extends IBluetooth.Stub {
}
boolean ret;
if (getBondState(address) == BluetoothDevice.BOND_BONDED) {
// Just do the SDP if the device is already created and UUIDs are not
// NULL, else create the device and then do SDP.
if (isRemoteDeviceInCache(address) && getRemoteUuids(address) != null) {
String path = getObjectPathFromAddress(address);
if (path == null) return false;