title: Action send mail to with file Android 11
body: <p>i have a problem to share a &quot;.zip&quot; file with gmail app or otherwise email sender with Android 11.</p>
  <pre><code>Intent email_intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(&quot;mailto&quot;,mailTo, null));
  email_intent.putExtra(Intent.EXTRA_SUBJECT, &quot;Log App&quot;);
  email_intent.putExtra(Intent.EXTRA_TEXT,&quot;&quot;);
  email_intent.putExtra(Intent.EXTRA_STREAM, FileProvider.getUriForFile(getApplicationContext(), BuildConfig.APPLICATION_ID+&quot;.provider&quot;,new File(log)));
  startActivity(Intent.createChooser(email_intent, getString(R.string.invia_tramite)));
  </code></pre>
  <p>I'm not using requestLegacy etc.. but getExternalFilesDir. With lower version of 11 it works.</p>
  <p>Please save my day :)</p>
  <p>Thanks</p>