diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-10-21 10:35:35 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2015-10-21 10:35:35 +0200 |
commit | daa32139fe83d69e148f5df3715930913e7ee52e (patch) | |
tree | fe71824f23bc9ca4472d50637838cd82adc65477 /main/src/main/java/de/blinkt/openvpn | |
parent | 0b7a343d0b308c64a1c1e3c328e3752eef9fe4b0 (diff) |
Make device information message more verbose.v0.6.41
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java b/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java index aa9a5660..78deb7d3 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java +++ b/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java @@ -287,11 +287,11 @@ public class VpnStatus { NoSuchAlgorithmException ignored) { } - Object[] argsext = Arrays.copyOf(mArgs, mArgs.length + 2); + Object[] argsext = Arrays.copyOf(mArgs, mArgs.length); argsext[argsext.length - 1] = apksign; argsext[argsext.length - 2] = version; - return c.getString(R.string.mobile_info_extended, argsext); + return c.getString(R.string.mobile_info, argsext); } @@ -338,7 +338,8 @@ public class VpnStatus { } private static void logInformation() { - logInfo(R.string.mobile_info, Build.MODEL, Build.BOARD, Build.BRAND, Build.VERSION.SDK_INT, NativeUtils.getNativeAPI()); + logInfo(R.string.mobile_info, Build.MODEL, Build.BOARD, Build.BRAND, Build.VERSION.SDK_INT, + NativeUtils.getNativeAPI(), Build.VERSION.RELEASE, Build.ID, Build.FINGERPRINT, "", ""); } public synchronized static void addLogListener(LogListener ll) { |