This fixes receiving payloads using the bluetooth backend.
This looks like some bug in Qt, but I couldn't figure out what happens exactly (will report a bug though).
apol |
KDE Connect |
This fixes receiving payloads using the bluetooth backend.
This looks like some bug in Qt, but I couldn't figure out what happens exactly (will report a bug though).
Receiving files now works!
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Sometimes it works fine, but sometimes it fails immediately after start with this on logcat
04-17 01:05:56.433 29431-14096/org.kde.kdeconnect_tp W/System.err: at android.bluetooth.BluetoothSocket.accept(BluetoothSocket.java:465) at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:158) at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:144) at org.kde.kdeconnect.Backends.BluetoothBackend.BluetoothLink.sendPacketInternal(BluetoothLink.java:203) at org.kde.kdeconnect.Backends.BluetoothBackend.BluetoothLink.sendPacket(BluetoothLink.java:164) at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:670) at org.kde.kdeconnect.Plugins.SharePlugin.SharePlugin$2.run(SharePlugin.java:311) at java.lang.Thread.run(Thread.java:764)
After it occured once all following transfers fail as well
Yes. Turns out I forgot to submit my earlier reply -_-
core/backends/bluetooth/bluetoothdownloadjob.cpp | ||
---|---|---|
38–39 | It doesn't :-( Then again, it didn't get destroyed earlier either (the transfer just hung). I think I'll wait a bit to see what happens on Qt bug 67672. |