summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-06-29 11:15:15 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-06-29 09:57:39 +0000
commitb827a21be00f5161b4b42ddaf3f8a46477d39054 (patch)
treeccd415442d205262a96b986bae13b54e3b09f335 /src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
parent31990acd549f3f811b60caefa6371ec8fc09bb4b (diff)
Android: Do not emit QBluetoothSocket::bytesWritten() if write() failed
QBluetoothSocket::write() emits the bytesWritten(int) signal when the write was successful. java.io.OutputStream.write() returns an exception when it fails. We should not emit bytesWritten() if such an exception occurred. Change-Id: I76e7a85188102e8227d586450c3e733c046e9957 Reviewed-by: Christian Stromme <christian.stromme@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp')
0 files changed, 0 insertions, 0 deletions