diff options
author | Patrick Scott <phanna@android.com> | 2009-04-28 11:21:28 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-04-28 11:47:11 -0400 |
commit | f0c70a83562a27c424554f609eb1d4cdebf06df4 (patch) | |
tree | d79d3ed2b8f70c437a6d25d81073ce89308f1a30 /core/java/android/webkit/MimeTypeMap.java | |
parent | b4ec40108552b5fd9c48c0c7f5a61addeaae797c (diff) | |
download | frameworks_base-f0c70a83562a27c424554f609eb1d4cdebf06df4.zip frameworks_base-f0c70a83562a27c424554f609eb1d4cdebf06df4.tar.gz frameworks_base-f0c70a83562a27c424554f609eb1d4cdebf06df4.tar.bz2 |
Treat application/xhtml+xml as xhtml+xml instead of text/html.
Previously we had converted application/xhtml+xml to text/html because of bad
server data. Now we need to treat xhtml as xhtml to get svg to be interpreted
correctly.
Diffstat (limited to 'core/java/android/webkit/MimeTypeMap.java')
-rw-r--r-- | core/java/android/webkit/MimeTypeMap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/webkit/MimeTypeMap.java b/core/java/android/webkit/MimeTypeMap.java index 85c2275..096f38a 100644 --- a/core/java/android/webkit/MimeTypeMap.java +++ b/core/java/android/webkit/MimeTypeMap.java @@ -358,6 +358,7 @@ public /* package */ class MimeTypeMap { sMimeTypeMap.loadEntry("application/x-x509-ca-cert", "crt", false); sMimeTypeMap.loadEntry("application/x-xcf", "xcf", false); sMimeTypeMap.loadEntry("application/x-xfig", "fig", false); + sMimeTypeMap.loadEntry("application/xhtml+xml", "xhtml", false); sMimeTypeMap.loadEntry("audio/basic", "snd", false); sMimeTypeMap.loadEntry("audio/midi", "mid", false); sMimeTypeMap.loadEntry("audio/midi", "midi", false); |