diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-09 09:38:18 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-09 09:38:18 +0200 |
commit | f6615843f923c75bfd6938fee39d412463641fa7 (patch) | |
tree | 308d8f394fe065acfd7f6dcc9b954a9ef9d611ac /src/eu | |
parent | de2964cd2555e59ba60373e34765250f8aae35a6 (diff) |
grant uri permission on share picture
Diffstat (limited to 'src/eu')
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java index 550070088..a84fc01cf 100644 --- a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -7,7 +7,6 @@ import eu.siacs.conversations.R; import eu.siacs.conversations.entities.Contact; import eu.siacs.conversations.entities.Conversation; import eu.siacs.conversations.entities.Message; -import eu.siacs.conversations.services.ImageProvider; import eu.siacs.conversations.ui.ConversationActivity; import eu.siacs.conversations.utils.UIHelper; import eu.siacs.conversations.xmpp.jingle.JingleConnection; @@ -251,6 +250,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { shareIntent.putExtra(Intent.EXTRA_STREAM, activity.xmppConnectionService.getFileBackend() .getJingleFileUri(message)); + shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); shareIntent.setType("image/webp"); getContext().startActivity( Intent.createChooser(shareIntent, |