Align NetworkPacket.hasPayload with desktop
ClosedPublic

Authored by eduisters on Nov 29 2018, 3:39 PM.

Details

Summary

On desktop NetworkPacket.hasPayload() tests m_payloadSize
On android NetworkPacket.hasPayload() tests mPayload

This patch makes android also test mPayloadSize to make things more consistent

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.Nov 29 2018, 3:39 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptNov 29 2018, 3:39 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
eduisters requested review of this revision.Nov 29 2018, 3:39 PM
albertvaka accepted this revision.Nov 29 2018, 10:19 PM
This revision is now accepted and ready to land.Nov 29 2018, 10:19 PM
eduisters updated this revision to Diff 46532.Nov 30 2018, 7:39 AM

Rebased onto master

This revision was automatically updated to reflect the committed changes.