OSDN Git Service

Make MimeTypes Lowercase
authorherriojr <jherriott@cyngn.com>
Mon, 5 Oct 2015 19:14:46 +0000 (12:14 -0700)
committerherriojr <jherriott@cyngn.com>
Mon, 5 Oct 2015 19:14:46 +0000 (12:14 -0700)
It is standard to have mimetypes as fully lowercase in Android, so
changing the previous additions to be fully lowercase. It appears to
have worked on the device I was testing on, but other devices were
having issues. By making them all lowercase, this will make it so
it is compatible between both sets of devices.

Change-Id: I63764c0d9ec129008868ca5aa2176187834b2bc0
Issue-Id: CYNGNOS-1153

res/raw/mime_types.properties

index 07cb214..5c1df7f 100644 (file)
@@ -111,9 +111,9 @@ fdf   = DOCUMENT | application/vnd.fdf
 pdf   = DOCUMENT | application/pdf                                                           | fso_type_pdf_drawable
 ppt   = DOCUMENT | application/vnd.ms-powerpoint                                             | fso_type_presentation_drawable
 pptx  = DOCUMENT | application/vnd.openxmlformats-officedocument.presentationml.presentation | fso_type_presentation_drawable
-pptm  = DOCUMENT | application/vnd.ms-powerpoint.presentation.macroEnabled.12                | fso_type_presentation_drawable
+pptm  = DOCUMENT | application/vnd.ms-powerpoint.presentation.macroenabled.12                | fso_type_presentation_drawable
 pps   = DOCUMENT | application/vnd.ms-powerpoint                                             | fso_type_presentation_drawable
-ppsm  = DOCUMENT | application/vnd.ms-powerpoint.slideshow.macroEnabled.12                   | fso_type_presentation_drawable
+ppsm  = DOCUMENT | application/vnd.ms-powerpoint.slideshow.macroenabled.12                   | fso_type_presentation_drawable
 ppsx  = DOCUMENT | application/vnd.openxmlformats-officedocument.presentationml.slideshow    | fso_type_presentation_drawable
 odp   = DOCUMENT | application/vnd.oasis.opendocument.presentation                           | fso_type_presentation_drawable
 ods   = DOCUMENT | application/vnd.oasis.opendocument.spreadsheet                            | fso_type_spreadsheet_drawable
@@ -121,8 +121,8 @@ odt   = DOCUMENT | application/vnd.oasis.opendocument.text
 rtf   = DOCUMENT | application/rtf                                                           | fso_type_document_drawable
 xls   = DOCUMENT | application/vnd.ms-excel                                                  | fso_type_spreadsheet_drawable
 xlsx  = DOCUMENT | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet         | fso_type_spreadsheet_drawable
-xlsb  = DOCUMENT | application/vnd.ms-excel.sheet.binary.macroEnabled.12                     | fso_type_spreadsheet_drawable
-xlsm  = DOCUMENT | application/vnd.ms-excel.sheet.macroEnabled.12                            | fso_type_spreadsheet_drawable
+xlsb  = DOCUMENT | application/vnd.ms-excel.sheet.binary.macroenabled.12                     | fso_type_spreadsheet_drawable
+xlsm  = DOCUMENT | application/vnd.ms-excel.sheet.macroenabled.12                            | fso_type_spreadsheet_drawable
 
 # e-Book
 azw   = EBOOK    | application/octet-stream         | fso_type_ebook_drawable