summaryrefslogtreecommitdiffstats
path: root/ash/system/bluetooth
diff options
context:
space:
mode:
authorjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 18:32:19 +0000
committerjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 18:32:19 +0000
commit13ed4739d0fd5fbe725b3d61037537c26156c99c (patch)
tree9aebdc95d36f18cf48cca907474e6034f894710e /ash/system/bluetooth
parent466476641189aa7515b7324ba3912ef5755ccf23 (diff)
downloadchromium_src-13ed4739d0fd5fbe725b3d61037537c26156c99c.zip
chromium_src-13ed4739d0fd5fbe725b3d61037537c26156c99c.tar.gz
chromium_src-13ed4739d0fd5fbe725b3d61037537c26156c99c.tar.bz2
Do not show bluetooth device as connected if it is connected but not paired.
BUG=234841 TBR=keybuk@chromium.org Review URL: https://codereview.chromium.org/20146003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/bluetooth')
-rw-r--r--ash/system/bluetooth/tray_bluetooth.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/bluetooth/tray_bluetooth.cc b/ash/system/bluetooth/tray_bluetooth.cc
index 95af770..5d75e94 100644
--- a/ash/system/bluetooth/tray_bluetooth.cc
+++ b/ash/system/bluetooth/tray_bluetooth.cc
@@ -172,7 +172,7 @@ class BluetoothDetailedView : public TrayDetailsView,
IDS_ASH_STATUS_TRAY_BLUETOOTH_CONNECTING, list[i].display_name);
new_connecting_devices.insert(list[i].address);
UpdateBluetoothDeviceList(&connecting_devices_, list[i]);
- } else if (list[i].connected) {
+ } else if (list[i].connected && list[i].paired) {
new_connected_devices.insert(list[i].address);
UpdateBluetoothDeviceList(&connected_devices_, list[i]);
} else if (list[i].paired) {