mirror of https://github.com/tuskyapp/Tusky.git
Browse Source
MIME type detection for files based on extensions (the `getType()` method) returns incorrect results from DownloadProvider and FileProvider for (at least) .m4a files. Investigation details are in https://github.com/tuskyapp/Tusky/issues/3189 Be safe, and use `MediaMetadataRetriever` to sniff the content of the files to determine the correct type. Fixes https://github.com/tuskyapp/Tusky/issues/3189pull/3210/head
1 changed files with 15 additions and 0 deletions
Loading…
Reference in new issue