mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
add versionCode to debug info (#2427)
This commit is contained in:
parent
97868bcdbc
commit
0169db7146
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,9 @@ public class LogViewFragment extends Fragment {
|
||||||
.append(BuildConfig.FLAVOR)
|
.append(BuildConfig.FLAVOR)
|
||||||
.append(BuildConfig.DEBUG? "-debug" : "")
|
.append(BuildConfig.DEBUG? "-debug" : "")
|
||||||
.append("\n");
|
.append("\n");
|
||||||
|
builder.append("versionCode=")
|
||||||
|
.append(pm.getPackageInfo(context.getPackageName(), 0).versionCode)
|
||||||
|
.append("\n");
|
||||||
builder.append("installer=")
|
builder.append("installer=")
|
||||||
.append(pm.getInstallerPackageName(context.getPackageName()))
|
.append(pm.getInstallerPackageName(context.getPackageName()))
|
||||||
.append("\n");
|
.append("\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue