From ae16439bd6f0fb87848ee56795af75d3cce6a693 Mon Sep 17 00:00:00 2001 From: Christian S Date: Sun, 18 Jan 2015 11:12:38 +0100 Subject: Added new file type names for file transfers - apk - vcard --- src/main/java/eu/siacs/conversations/utils/UIHelper.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java') diff --git a/src/main/java/eu/siacs/conversations/utils/UIHelper.java b/src/main/java/eu/siacs/conversations/utils/UIHelper.java index f468d9ae..f749a851 100644 --- a/src/main/java/eu/siacs/conversations/utils/UIHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/UIHelper.java @@ -187,6 +187,10 @@ public class UIHelper { return context.getString(R.string.image); } else if (mime.contains("pdf")) { return context.getString(R.string.pdf_document) ; + } else if (mime.contains("application/vnd.android.package-archive")) { + return context.getString(R.string.apk) ; + } else if (mime.contains("vcard")) { + return context.getString(R.string.vcard) ; } else { return mime; } -- cgit v1.2.3