Allow external sharing of EML files

This commit is contained in:
M66B 2019-12-13 09:32:18 +01:00
parent ceeb62e877
commit 58645ed999
1 changed files with 1 additions and 0 deletions

View File

@ -3650,6 +3650,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Intent send = new Intent(Intent.ACTION_SEND);
send.putExtra(Intent.EXTRA_STREAM, uri);
send.setType("message/rfc822");
send.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
context.startActivity(send);
}