Skip to content

Commit

Permalink
Resolve #2073 adding a corresponding file-extension/mimetype mapping …
Browse files Browse the repository at this point in the history
…for .love files

Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Sep 2, 2019
1 parent 654c5bc commit eb14098
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/owncloud/android/utils/MimeTypeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ private static void populateMimeTypeIconMapping() {
MIMETYPE_TO_ICON_MAPPING.put("application/x-font", R.drawable.file_image);
MIMETYPE_TO_ICON_MAPPING.put("application/x-gimp", R.drawable.file_image);
MIMETYPE_TO_ICON_MAPPING.put("application/x-gzip", R.drawable.file_zip);
MIMETYPE_TO_ICON_MAPPING.put("application/x-love-game", R.drawable.file);
MIMETYPE_TO_ICON_MAPPING.put("application/x-mobipocket-ebook", R.drawable.file_text);
MIMETYPE_TO_ICON_MAPPING.put("application/x-ms-dos-executable", R.drawable.file_application);
MIMETYPE_TO_ICON_MAPPING.put("application/x-msdos-program", R.drawable.file_application);
Expand Down Expand Up @@ -619,6 +620,7 @@ private static void populateFileExtensionMimeTypeMapping() {
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("kmz", Collections.singletonList("application/vnd.google-earth.kmz"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("kra", Collections.singletonList("application/x-krita"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("ldif", Collections.singletonList("text/x-ldif"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("love", Collections.singletonList("application/x-love-game"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("lwp", Collections.singletonList("application/vnd.lotus-wordpro"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("m2t", Collections.singletonList("video/mp2t"));
FILE_EXTENSION_TO_MIMETYPE_MAPPING.put("m3u", Collections.singletonList("audio/mpegurl"));
Expand Down

0 comments on commit eb14098

Please sign in to comment.