DescriptionBluetooth: Parse the bluez.Error.Failed on pairing error.
The method org.bluez.Device1.Pair can return with different errors.
Among those, an org.bluez.Error.Failed: "Device or resource busy" is
a possible option.
This patch parses that D-Bus error as an ERROR_FAILED.
BUG=238479
TEST=BluetoothExperimentalChromeOSTest.PairUnpairableDevice on device_unittests passed with the fix, and fails without it.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199048
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|