mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Allow external sharing of EML files
This commit is contained in:
parent
ceeb62e877
commit
58645ed999
1 changed files with 1 additions and 0 deletions
|
@ -3650,6 +3650,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
Intent send = new Intent(Intent.ACTION_SEND);
|
Intent send = new Intent(Intent.ACTION_SEND);
|
||||||
send.putExtra(Intent.EXTRA_STREAM, uri);
|
send.putExtra(Intent.EXTRA_STREAM, uri);
|
||||||
send.setType("message/rfc822");
|
send.setType("message/rfc822");
|
||||||
|
send.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||||
context.startActivity(send);
|
context.startActivity(send);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue