Share packets now always contain the open flag so use the actual open flag...
Summary
Previously desktop originating share packets only contained the open flag when a initiated through SharePlugin::openFile(). Commit 8406e0de99ffa4dfb152fc446205f9faae4c1cab changed that so now the open flag is always present in a share packet.
This patch makes SharePlugin look at the actual value of the open flag instead of for it's presents
Test Plan
Before:
Share 2 files from desktop to android and observe that an exception is logged and a notification is shown on android indicating a failure
After:
Share 2 files from desktop to android and observe that no exception is logged and a notification is shown on android showing that the 2 files have been successfully received.
Edited by Erik Duisters