Fix an issue where 'getMediaFileMimeType(File mediaFile, boolean isImage)' is called with false on images