Skip to content

Commit

Permalink
Merge branch 'master' of github.com:guardianproject/haven into room_e…
Browse files Browse the repository at this point in the history
…xperiments
  • Loading branch information
archie94 committed Jul 2, 2018
2 parents a77960d + f954729 commit 6a930cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/havenapp/main/ui/EventActivity.java
Expand Up @@ -164,7 +164,8 @@ private void shareEvent ()
//convert from paths to Android friendly Parcelable Uri's
for (EventTrigger trigger : mEvent.getEventTriggers())
{
if (trigger.getMPath() == null)
// ignore triggers for which we do not have valid file/file-paths
if (trigger.getMimeType() == null || trigger.getMPath() == null)
continue;

File fileIn = new File(trigger.getMPath());
Expand Down

0 comments on commit 6a930cb

Please sign in to comment.