Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: device/bluetooth/bluez/bluetooth_device_bluez.cc

Issue 2032093002: bluetooth: Fix logic mistake in DeviceChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluez/bluetooth_device_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.cc b/device/bluetooth/bluez/bluetooth_device_bluez.cc
index 9ed6bf1cc4005803a71f2d4aaa1b8c7d4dc1fc28..713c14f0f26657abbf2f8b059cd04de7dda07133 100644
--- a/device/bluetooth/bluez/bluetooth_device_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_device_bluez.cc
@@ -288,8 +288,9 @@ bool BluetoothDeviceBlueZ::IsConnected() const {
}
bool BluetoothDeviceBlueZ::IsGattConnected() const {
- NOTIMPLEMENTED();
- return false;
+ // Bluez uses the same attribute for GATT Connections and Classic BT
+ // Connections.
+ return IsConnected();
}
bool BluetoothDeviceBlueZ::IsConnectable() const {
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | device/bluetooth/bluez/bluetooth_gatt_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698