Opening files with upper-case extensions (e.g. file.JPG) causes android.webkit.MimeTypeMap's lookup to fail, resulting in files being opened with the wrong app (which usually results in them being unopenable). This normalizes the extension to lower case.
Opening files with upper-case extensions (e.g.
file.JPG
) causesandroid.webkit.MimeTypeMap
's lookup to fail, resulting in files being opened with the wrong app (which usually results in them being unopenable). This normalizes the extension to lower case.