mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Guess shared application/* type
This commit is contained in:
parent
f4c4a9f675
commit
f36a9e4eb6
1 changed files with 1 additions and 0 deletions
|
@ -7605,6 +7605,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
if (TextUtils.isEmpty(result.type) ||
|
if (TextUtils.isEmpty(result.type) ||
|
||||||
"*/*".equals(result.type) ||
|
"*/*".equals(result.type) ||
|
||||||
|
"application/*".equals(result.type) ||
|
||||||
"application/octet-stream".equals(result.type))
|
"application/octet-stream".equals(result.type))
|
||||||
result.type = Helper.guessMimeType(result.name);
|
result.type = Helper.guessMimeType(result.name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue