Chromium Code Reviews| Index: chromeos/dbus/fake_bluetooth_adapter_client.cc |
| diff --git a/chromeos/dbus/fake_bluetooth_adapter_client.cc b/chromeos/dbus/fake_bluetooth_adapter_client.cc |
| index a82e459bd02deeb6cd450af9394985a9535cdaba..636e7ad3eee5b72630a46983fe54c2c432db5b05 100644 |
| --- a/chromeos/dbus/fake_bluetooth_adapter_client.cc |
| +++ b/chromeos/dbus/fake_bluetooth_adapter_client.cc |
| @@ -178,6 +178,11 @@ void FakeBluetoothAdapterClient::StopDiscovery( |
| DBusThreadManager::Get()->GetBluetoothDeviceClient()); |
| device_client->EndDiscoverySimulation(dbus::ObjectPath(kAdapterPath)); |
| + if (simulation_interval_ms_ > 100) { |
| + device_client->BeginIncomingPairingSimulation( |
| + dbus::ObjectPath(kAdapterPath)); |
|
armansito
2014/02/28 23:20:06
Should we start the simulation only if |properties
keybuk
2014/02/28 23:21:28
Since there's no way to set those in the UI right
armansito
2014/02/28 23:46:03
We seem to be setting pairable to true by default
|
| + } |
| + |
| properties_->discovering.ReplaceValue(false); |
| } |
| } |