mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-02-22 01:15:35 +00:00
Fix app crashes when downloading videos.
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user