Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf974f28 authored by Sang-Jun Park's avatar Sang-Jun Park Committed by Steve Kondik
Browse files

Support Audio ogg type in Multimedia message



Change-Id: If9dcd59da854df64ea2ac25ed97309b7600e6421
Signed-off-by: default avatarSang-Jun Park <sj2202.park@samsung.com>
parent 3f203308
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -180,15 +180,18 @@ public class ContentType {
    }

    public static boolean isImageType(String contentType) {
        return (null != contentType) && contentType.startsWith("image/");
        return (null != contentType) && (contentType.startsWith("image/") ||
                                    sSupportedImageTypes.contains(contentType));
    }

    public static boolean isAudioType(String contentType) {
        return (null != contentType) && contentType.startsWith("audio/");
        return (null != contentType) && (contentType.startsWith("audio/") ||
                                    sSupportedAudioTypes.contains(contentType));
    }

    public static boolean isVideoType(String contentType) {
        return (null != contentType) && contentType.startsWith("video/");
        return (null != contentType) && (contentType.startsWith("video/") ||
                                    sSupportedVideoTypes.contains(contentType));
    }

    public static boolean isDrmType(String contentType) {