OSDN Git Service

Add extension->mime type mappings
authorAndrew Stadler <stadler@android.com>
Mon, 28 Sep 2009 16:23:53 +0000 (09:23 -0700)
committerAndrew Stadler <stadler@android.com>
Mon, 28 Sep 2009 16:23:53 +0000 (09:23 -0700)
commit6585fe004ed4db12661a934f874390ca4b1e79a4
tree3319316d5f4469503a01be09bf6d7b8f8504266b
parentc18b0ebcfb905cc5001618c78890e884a859e069
Add extension->mime type mappings

* Microsoft Office common extensions
* .xml -> text/xml
* Change existing mapping of ".pot"->"text/plain" to ".po"

Note:  We already had a definition for .pot to text/plain.  Per the
information found at <http://www.fileinfo.com/extension/pot> this is the
rarely seen "portable object file", and is often named ".po" to avoid
this same conflict.

Addresses bug # 2097457

Change-Id: I964b853fdeae77d742f627c535a8b32e0e53516a
core/java/android/webkit/MimeTypeMap.java