Exception is occured on BluetoothLeDevice constructor if GATT not supported.
BluetoothGattClient.StaticConnectionStateChanged += (s, e) =>
Remove exception throw logic on the event handler StaticConnectionStateChanged for consistency
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
if (ret != (int)BluetoothError.None)
{
Log.Error(Globals.LogTag, "Failed to set gatt connection state changed callback, Error - " + (BluetoothError)ret);
- BluetoothErrorFactory.ThrowBluetoothException(ret);
}
}
if (ret != (int)BluetoothError.None)
{
Log.Error(Globals.LogTag, "Failed to unset gatt connection state changed callback, Error - " + (BluetoothError)ret);
- BluetoothErrorFactory.ThrowBluetoothException(ret);
}
}