Skip to content

Commit

Permalink
add .heic to list of known mime types
Browse files Browse the repository at this point in the history
fixes #3598
  • Loading branch information
iNPUTmice committed Dec 12, 2019
1 parent 94ee4d4 commit ef98a24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/eu/siacs/conversations/utils/MimeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package eu.siacs.conversations.utils;
import android.content.Context;
import android.net.Uri;
import android.os.Build;
import android.util.Log;

import java.io.File;
Expand Down Expand Up @@ -268,6 +269,7 @@ public final class MimeUtils {
add("image/ico", "cur");
add("image/ico", "ico");
add("image/ief", "ief");
add("image/heic","heic");
// add ".jpg" first so it will be the default for guessExtensionFromMimeType
add("image/jpeg", "jpg");
add("image/jpeg", "jpeg");
Expand Down

0 comments on commit ef98a24

Please sign in to comment.