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

Merge commit '0e09030977aea8b40fd177139528d4b5637c9771' into froyo-plus-aosp

* commit '0e09030977aea8b40fd177139528d4b5637c9771':
  Relax the requirement of making a DBUS call for creating the Bluez Device.
This commit is contained in:
Jaikumar Ganesh
2010-03-30 10:30:48 -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;