X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/3d3046dc264792475c72987afc25beae23da4dc6..7a42dc2bf4e98ba9a121958f5442ae197ce65611:/src/com/owncloud/android/MainApp.java?ds=sidebyside diff --git a/src/com/owncloud/android/MainApp.java b/src/com/owncloud/android/MainApp.java index f35e098a..b1ea3c07 100644 --- a/src/com/owncloud/android/MainApp.java +++ b/src/com/owncloud/android/MainApp.java @@ -1,8 +1,9 @@ -/* ownCloud Android client application +/** + * ownCloud Android client application * * @author masensio * @author David A. Velasco - * Copyright (C) 2012-2015 ownCloud Inc. + * Copyright (C) 2015 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -116,4 +117,8 @@ public class MainApp extends Application { return getAppContext().getResources().getString(R.string.log_name); } + // user agent + public static String getUserAgent() { + return getAppContext().getResources().getString(R.string.user_agent); + } }