| Index: device/bluetooth/bluetooth_device.cc
|
| diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
|
| index 587fcb7cb2cfb99b3dfb56d647c0debe0c3073b5..665cbb685a68da5afedd3e6cdd60dd8898597fff 100644
|
| --- a/device/bluetooth/bluetooth_device.cc
|
| +++ b/device/bluetooth/bluetooth_device.cc
|
| @@ -274,24 +274,12 @@ bool BluetoothDevice::IsPairable() const {
|
| // Microsoft "Microsoft Bluetooth Notebook Mouse 5000", model X807028-001
|
| if (type == BluetoothDeviceType::MOUSE && vendor == "7C:ED:8D")
|
| return false;
|
| - // Sony PlayStation Dualshock3
|
| - if (IsTrustable())
|
| - return false;
|
|
|
| // TODO: Move this database into a config file.
|
|
|
| return true;
|
| }
|
|
|
| -bool BluetoothDevice::IsTrustable() const {
|
| - // Sony PlayStation Dualshock3
|
| - if ((GetVendorID() == 0x054c && GetProductID() == 0x0268 &&
|
| - GetName() == std::string("PLAYSTATION(R)3 Controller")))
|
| - return true;
|
| -
|
| - return false;
|
| -}
|
| -
|
| BluetoothDevice::UUIDSet BluetoothDevice::GetUUIDs() const {
|
| return device_uuids_.GetUUIDs();
|
| }
|
|
|