Fix app crashes when downloading videos.

This commit is contained in:
Docile-Alligator
2023-12-15 15:39:59 -05:00
parent 6065dc8454
commit 1bcfae3aae

View File

@ -271,8 +271,10 @@ public class DownloadMediaService extends Service {
switch (mediaType) {
case EXTRA_MEDIA_TYPE_VIDEO:
mimeType = "video/mpeg";
break;
case EXTRA_MEDIA_TYPE_GIF:
mimeType = "image/gif";
break;
default:
mimeType = "image/jpeg";
}