Add version code to debug info again

This commit is contained in:
M66B 2015-11-27 13:55:09 +01:00
parent 3edf8549fb
commit bbb0232dee
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ public class Util {
// Get device info
StringBuilder sb = new StringBuilder();
String version = getSelfVersionName(context);
sb.append(String.format("NetGuard: %s\r\n", version));
sb.append(String.format("NetGuard: %s/%d\r\n", version, getSelfVersionCode(context)));
sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
sb.append("\r\n");
sb.append(String.format("Brand: %s\r\n", Build.BRAND));