mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Allow external shares to a story.
This commit is contained in:
committed by
Cody Henthorne
parent
732b67d8cb
commit
54eb579558
@@ -320,6 +320,10 @@ public class MediaUtil {
|
||||
return isImageType(contentType) || isVideoType(contentType);
|
||||
}
|
||||
|
||||
public static boolean isStorySupportedType(String contentType) {
|
||||
return isImageOrVideoType(contentType) && !isGif(contentType);
|
||||
}
|
||||
|
||||
public static boolean isImageVideoOrAudioType(String contentType) {
|
||||
return isImageOrVideoType(contentType) || isAudioType(contentType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user