aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/utils/PhoneHelper.java
diff options
context:
space:
mode:
authorArtem Shipovskiy <artem0711@gmail.com>2016-01-29 23:14:41 +0500
committerChristian S <christian@pix-art.de>2016-02-04 18:15:25 +0100
commit1ae74784ca5466c879e678687f84f4b9b1e91420 (patch)
tree6bed98f54b9fe2f673f275cb86cbdc8c5baafa54 /src/main/java/eu/siacs/conversations/utils/PhoneHelper.java
parentf1bcd77f9083464d45432a2b475300fc210142ea (diff)
Add device name to client info
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/PhoneHelper.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/PhoneHelper.java b/src/main/java/eu/siacs/conversations/utils/PhoneHelper.java
index 6c1b4bef5..48c9104f9 100644
--- a/src/main/java/eu/siacs/conversations/utils/PhoneHelper.java
+++ b/src/main/java/eu/siacs/conversations/utils/PhoneHelper.java
@@ -133,4 +133,8 @@ public class PhoneHelper {
return "unknown";
}
}
+
+ public static String getOSVersion(Context context) {
+ return "Android/" + android.os.Build.MODEL + "/" + android.os.Build.VERSION.RELEASE;
+ }
}