Extended debug info

This commit is contained in:
M66B 2019-03-31 08:42:00 +02:00
parent 03c3934aa5
commit ff01c421fa
1 changed files with 2 additions and 1 deletions

View File

@ -443,13 +443,14 @@ public class Helper {
// Get version info // Get version info
String installer = context.getPackageManager().getInstallerPackageName(BuildConfig.APPLICATION_ID); String installer = context.getPackageManager().getInstallerPackageName(BuildConfig.APPLICATION_ID);
sb.append(String.format("%s: %s/%s %s/%s%s%s\r\n", sb.append(String.format("%s: %s/%s %s/%s%s%s%s\r\n",
context.getString(R.string.app_name), context.getString(R.string.app_name),
BuildConfig.APPLICATION_ID, BuildConfig.APPLICATION_ID,
installer, installer,
BuildConfig.VERSION_NAME, BuildConfig.VERSION_NAME,
hasValidFingerprint(context) ? "1" : "3", hasValidFingerprint(context) ? "1" : "3",
BuildConfig.PLAY_STORE_RELEASE ? "p" : "", BuildConfig.PLAY_STORE_RELEASE ? "p" : "",
BuildConfig.DEBUG ? "d" : "",
isPro(context) ? "+" : "")); isPro(context) ? "+" : ""));
sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT)); sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
sb.append("\r\n"); sb.append("\r\n");