Simplification

pull/194/head
M66B 4 years ago
parent 350a089841
commit fa05849cb5

@ -1156,8 +1156,7 @@ public class Helper {
String extension = Helper.getExtension(filename);
if (extension != null) {
extension = extension.toLowerCase(Locale.ROOT);
type = MimeTypeMap.getSingleton()
.getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT));
type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
}
if (TextUtils.isEmpty(type))

Loading…
Cancel
Save