Guess shared application/* type

pull/207/head
M66B 3 years ago
parent f4c4a9f675
commit f36a9e4eb6

@ -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…
Cancel
Save