summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-06-02 12:33:53 -0700
committerJaikumar Ganesh <jaikumar@google.com>2010-06-02 16:03:51 -0700
commit740e39be6af3e366a4b82c030b5ea67ab144b42a (patch)
tree7a3f130873dde329ab0f64128a59ee318c13833a /wifi/java/android/net
parent9b637e5985f9a86f39d70335c0390ade3716592a (diff)
downloadframeworks_base-740e39be6af3e366a4b82c030b5ea67ab144b42a.zip
frameworks_base-740e39be6af3e366a4b82c030b5ea67ab144b42a.tar.gz
frameworks_base-740e39be6af3e366a4b82c030b5ea67ab144b42a.tar.bz2
Pass BluetoothDevice to the Bluetooth Headset calls.
This is to support multiple headsets at the same time, atleast at the framework level. Change-Id: I91d05c6c2828c9a09d00806d5e79f1e9c9c7cf84
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r--wifi/java/android/net/wifi/WifiStateTracker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java
index 978d821..2c8be31 100644
--- a/wifi/java/android/net/wifi/WifiStateTracker.java
+++ b/wifi/java/android/net/wifi/WifiStateTracker.java
@@ -2324,7 +2324,7 @@ public class WifiStateTracker extends NetworkStateTracker {
* @return Whether to disable coexistence mode.
*/
private boolean shouldDisableCoexistenceMode() {
- int state = mBluetoothHeadset.getState();
+ int state = mBluetoothHeadset.getState(mBluetoothHeadset.getCurrentHeadset());
return state == BluetoothHeadset.STATE_DISCONNECTED;
}
}