Merge change I78c4e64a into eclair

* changes:
  Query from Bluez if name is not present in cache.
This commit is contained in:
Android (Google) Code Review
2009-09-30 13:55:11 -04:00

View File

@@ -757,9 +757,7 @@ public class BluetoothService extends IBluetooth.Stub {
if (!BluetoothAdapter.checkBluetoothAddress(address)) {
return null;
}
Map <String, String> properties = mDeviceProperties.get(address);
if (properties != null) return properties.get("Name");
return null;
return getRemoteDeviceProperty(address, "Name");
}
/**