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

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

Issue 2751223002: bluetooth: Stop support of reconnecting devices not supporting pairing (Closed)
Patch Set: fix an unittest failure Created 3 years, 9 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_adapter_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
index f5f343398e73aadafb0952a15f15faea053b9367..68045c57043783ebf6c76322b10911eb4eb9594a 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -669,14 +669,6 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged(
// UMA connection counting
if (property_name == properties->connected.name()) {
- // PlayStation joystick tries to reconnect after disconnection from USB.
- // If it is still not trusted, set it, so it becomes available on the
- // list of known devices.
- if (properties->connected.value()) {
- if (device_bluez->IsTrustable() && !properties->trusted.value())
- device_bluez->SetTrusted();
- }
-
int count = 0;
for (auto iter = devices_.begin(); iter != devices_.end(); ++iter) {

Powered by Google App Engine
This is Rietveld 408576698