Include git hash in debuglog.

This commit is contained in:
Greyson Parrelli
2021-02-05 15:18:11 -05:00
committed by GitHub
parent f3182ddbc6
commit c378e4413e
2 changed files with 12 additions and 1 deletions

View File

@@ -73,7 +73,8 @@ public class LogSectionSystemInfo implements LogSection {
.append(BuildConfig.CANONICAL_VERSION_CODE)
.append(", ")
.append(Util.getManifestApkVersion(context))
.append(")\n");
.append(") (")
.append(BuildConfig.GIT_HASH).append(") \n");
} catch (PackageManager.NameNotFoundException nnfe) {
builder.append("Unknown\n");
}