diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DbgUtils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DbgUtils.java index 971abf66a..c7c24a3dc 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DbgUtils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DbgUtils.java @@ -43,7 +43,7 @@ import junit.framework.Assert; import org.eehouse.android.xw4.loc.LocUtils; public class DbgUtils { - private static final String TAG = "XW4"; + private static final String TAG = BuildConstants.DBG_TAG; private static boolean s_doLog = BuildConfig.DEBUG; private static Time s_time = new Time(); diff --git a/xwords4/android/scripts/genvers.sh b/xwords4/android/scripts/genvers.sh index 0a828d42e..6a7ab7cb5 100755 --- a/xwords4/android/scripts/genvers.sh +++ b/xwords4/android/scripts/genvers.sh @@ -27,11 +27,13 @@ case $VARIANT in APPNAME=Crosswords SMSPORT=3344 INVITE_PREFIX=/and/ + DBG_TAG=XW4 ;; xw4dbg) APPNAME=CrossDbg SMSPORT=3345 INVITE_PREFIX=/anddbg/ + DBG_TAG=X4BG ;; *) usage @@ -75,6 +77,7 @@ class BuildConstants { public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED; public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED; public static final long BUILD_STAMP = $(date +'%s'); + public static final String DBG_TAG = "$DBG_TAG"; } EOF