Allow forwarding to other apps

This commit is contained in:
M66B 2021-04-11 21:05:54 +02:00
parent 6562790279
commit 8e3e7dd72f
1 changed files with 1 additions and 1 deletions

View File

@ -5071,7 +5071,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
Intent send = new Intent(Intent.ACTION_SEND);
send.setPackage(BuildConfig.APPLICATION_ID);
//send.setPackage(BuildConfig.APPLICATION_ID);
send.putExtra(Intent.EXTRA_STREAM, uri);
send.setType("message/rfc822");
send.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);