aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-01-18 11:57:34 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-01-18 11:57:34 +0100
commit78ac43cfa21d0a012bd3c5f30fc7534f2af2e9f2 (patch)
tree64e0574828a83fe07976f18fedb0ecc363b5c7ce /src/main/java/eu/siacs
parentd8c9e12d456bcf824fe39a8730ef5c0fc5e947f6 (diff)
parentae16439bd6f0fb87848ee56795af75d3cce6a693 (diff)
Merge pull request #901 from kriztan/patch-2
Added new file type names for file transfers
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 86bc3f38..b2ca8e4a 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;
}