chinwag-android/app
Nik Clayton b8f4de9922
Sniff MIME type for audio/video files before upload (#3190)
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/3189
2023-01-21 14:54:40 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase add 46.json (#3116) 2022-12-29 19:29:33 +01:00
src Sniff MIME type for audio/video files before upload (#3190) 2023-01-21 14:54:40 +01:00
.gitignore Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
build.gradle Remove old opt-in for RequiresOptIn (#3167) 2023-01-12 19:41:35 +01:00
proguard-rules.pro Keep all subclasses of PreferenceFragmentCompat (#3162) 2023-01-13 19:51:42 +01:00