Remove trust if non-pairing setup fails
In bluetooth-settings-widget.c
, when setting up a new device that doesn't require pairing, bluetooth_client_set_trusted()
will be called before connecting, which might fail in connect_callback()
. We'd need to remove the trust there if one was added, which we could keep track of by knowing whether we tried to pair with the device or not.