mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Changed launch mode of EML/DSN/AMP/DMARC viewers
This commit is contained in:
@@ -690,14 +690,6 @@ public class Helper {
|
||||
intent.setDataAndTypeAndNormalize(uri, type);
|
||||
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
|
||||
if (!("message/rfc822".equals(type) ||
|
||||
"message/delivery-status".equals(type) ||
|
||||
"message/disposition-notification".equals(type) ||
|
||||
"text/rfc822-headers".equals(type) ||
|
||||
"text/x-amp-html".equals(type) ||
|
||||
"text/xml".equals(type) /* DMARC */))
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
|
||||
if (!TextUtils.isEmpty(name))
|
||||
intent.putExtra(Intent.EXTRA_TITLE, Helper.sanitizeFilename(name));
|
||||
Log.i("Intent=" + intent + " type=" + type);
|
||||
|
||||
Reference in New Issue
Block a user