mirror of
https://gitlab.com/xynngh/YetAnotherCallBlocker.git
synced 2025-06-05 22:19:12 +02:00
Include app version in logcat exports
This commit is contained in:
@@ -14,6 +14,7 @@ import java.util.Date;
|
|||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
import dummydomain.yetanothercallblocker.App;
|
import dummydomain.yetanothercallblocker.App;
|
||||||
|
import dummydomain.yetanothercallblocker.BuildConfig;
|
||||||
|
|
||||||
public class DebuggingUtils {
|
public class DebuggingUtils {
|
||||||
|
|
||||||
@@ -115,6 +116,7 @@ public class DebuggingUtils {
|
|||||||
writer.append("Device: ").append(Build.DEVICE).append('\n');
|
writer.append("Device: ").append(Build.DEVICE).append('\n');
|
||||||
writer.append("Board: ").append(Build.BOARD).append('\n');
|
writer.append("Board: ").append(Build.BOARD).append('\n');
|
||||||
writer.append("Build display ID: ").append(Build.DISPLAY).append('\n');
|
writer.append("Build display ID: ").append(Build.DISPLAY).append('\n');
|
||||||
|
writer.append("App version: ").append(String.valueOf(BuildConfig.VERSION_CODE)).append('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user