Include app version in logcat exports

This commit is contained in:
xynngh 2020-10-20 15:58:15 +04:00
parent 49b107d6c5
commit 473f15bb0f
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import java.util.Date;
import java.util.Locale;
import dummydomain.yetanothercallblocker.App;
import dummydomain.yetanothercallblocker.BuildConfig;
public class DebuggingUtils {
@ -115,6 +116,7 @@ public class DebuggingUtils {
writer.append("Device: ").append(Build.DEVICE).append('\n');
writer.append("Board: ").append(Build.BOARD).append('\n');
writer.append("Build display ID: ").append(Build.DISPLAY).append('\n');
writer.append("App version: ").append(String.valueOf(BuildConfig.VERSION_CODE)).append('\n');
}
}