1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Improved debug info

This commit is contained in:
M66B 2019-03-10 11:31:40 +00:00
parent a190827b01
commit be7e97a0c5

View file

@ -438,12 +438,13 @@ 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\r\n", sb.append(String.format("%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" : "",
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");