aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorChristian S <kriztan@users.noreply.github.com>2015-01-18 11:12:38 +0100
committerChristian S <christian@pix-art.de>2015-01-18 11:17:27 +0100
commitae16439bd6f0fb87848ee56795af75d3cce6a693 (patch)
tree8f64f6b7d6aadef616adb68a0b4c927e630b9f4e /src/main/java/eu/siacs
parentc17005218f454397535bcbddf09ecf75553fb2b8 (diff)
Added new file type names for file transfers
- apk - vcard
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/UIHelper.java4
1 files changed, 4 insertions, 0 deletions
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;
}