Do not send null NetworkPackets
ClosedPublic

Authored by eduisters on Thu, Dec 6, 3:45 PM.

Details

Summary

queuedSendUriList can return null and subsequently an attempt is make to actually send this null packet

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
eduisters created this revision.Thu, Dec 6, 3:45 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptThu, Dec 6, 3:45 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
eduisters requested review of this revision.Thu, Dec 6, 3:45 PM
nicolasfella added inline comments.
src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java
290

toSend.add(np) ?

eduisters marked an inline comment as done.Thu, Dec 6, 3:56 PM
nicolasfella accepted this revision.Thu, Dec 6, 6:07 PM
This revision is now accepted and ready to land.Thu, Dec 6, 6:07 PM
This revision was automatically updated to reflect the committed changes.