diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2010-10-18 17:05:09 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2010-10-22 11:36:28 -0700 |
commit | 5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc (patch) | |
tree | f0be3d3bf04f4f8cf3e471b23dc716597559a029 /wifi/java/android | |
parent | 03cd78cf5e51c3adb78d2e3d314838dcf3e36b26 (diff) | |
download | frameworks_base-5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc.zip frameworks_base-5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc.tar.gz frameworks_base-5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc.tar.bz2 |
Update BT APIs return type from Set to List.
Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
Diffstat (limited to 'wifi/java/android')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java index 65b910b..e3deeb3 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -79,7 +79,6 @@ import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import java.util.regex.Pattern; @@ -1297,14 +1296,14 @@ public class WifiStateMachine extends HierarchicalStateMachine { */ private boolean shouldDisableCoexistenceMode() { if (mBluetoothHeadset == null) return true; - Set<BluetoothDevice> devices = mBluetoothHeadset.getConnectedDevices(); + List<BluetoothDevice> devices = mBluetoothHeadset.getConnectedDevices(); return (devices.size() != 0 ? false : true); } private void checkIsBluetoothPlaying() { boolean isBluetoothPlaying = false; if (mBluetoothA2dp != null) { - Set<BluetoothDevice> connected = mBluetoothA2dp.getConnectedDevices(); + List<BluetoothDevice> connected = mBluetoothA2dp.getConnectedDevices(); for (BluetoothDevice device : connected) { if (mBluetoothA2dp.isA2dpPlaying(device)) { |