Include app version in logcat exports
This commit is contained in:
parent
49b107d6c5
commit
473f15bb0f
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue