summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@vmiklos.hu>2014-12-27 19:51:27 +0100
committerMiklos Vajna <vmiklos@vmiklos.hu>2014-12-27 19:57:32 +0100
commit787a462136f0789b4fb523c10b9ea4e582aab736 (patch)
treee372d985d6e429f24b8b6e66f9cf5303c8d149d2
parent8a2692f0583a58868345c98ac641f84f6e355ac7 (diff)
downloadlibcore-787a462136f0789b4fb523c10b9ea4e582aab736.zip
libcore-787a462136f0789b4fb523c10b9ea4e582aab736.tar.gz
libcore-787a462136f0789b4fb523c10b9ea4e582aab736.tar.bz2
MimeUtils: add ODF presentation (template)
If ODF text, spreadsheet and graphics is there, then leaving out presentation makes little sense. Change-Id: Ice81f480a751537d757a33bae4de94c0b6097daf Signed-off-by: Miklos Vajna <vmiklos@vmiklos.hu>
-rw-r--r--luni/src/main/java/libcore/net/MimeUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/luni/src/main/java/libcore/net/MimeUtils.java b/luni/src/main/java/libcore/net/MimeUtils.java
index 710060e..2e72078 100644
--- a/luni/src/main/java/libcore/net/MimeUtils.java
+++ b/luni/src/main/java/libcore/net/MimeUtils.java
@@ -74,6 +74,8 @@ public final class MimeUtils {
add("application/vnd.oasis.opendocument.graphics", "odg");
add("application/vnd.oasis.opendocument.graphics-template", "otg");
add("application/vnd.oasis.opendocument.image", "odi");
+ add("application/vnd.oasis.opendocument.presentation", "odp");
+ add("application/vnd.oasis.opendocument.presentation-template", "otp");
add("application/vnd.oasis.opendocument.spreadsheet", "ods");
add("application/vnd.oasis.opendocument.spreadsheet-template", "ots");
add("application/vnd.oasis.opendocument.text", "odt");