Update BT APIs for change in return type.

Change-Id: Ic85b47da50876fd6bdc6e223af4248a8586d82bc
This commit is contained in:
Jaikumar Ganesh
2010-10-18 17:14:56 -07:00
parent f8b25796f0
commit 659b39abf8
3 changed files with 17 additions and 23 deletions

View File

@@ -300,7 +300,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
LocalBluetoothProfileManager profileManager =
LocalBluetoothProfileManager.getProfileManager(mLocalManager, profile);
CachedBluetoothDeviceManager cachedDeviceManager = mLocalManager.getCachedDeviceManager();
Set<BluetoothDevice> devices = profileManager.getConnectedDevices();
List<BluetoothDevice> devices = profileManager.getConnectedDevices();
if (devices == null) return;
for (BluetoothDevice btDevice : devices) {
CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(btDevice);