diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java index 9234b5954..d190a8eb2 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java @@ -136,7 +136,7 @@ public class UpdateCheckReceiver extends BroadcastReceiver { appParams.put( k_AVERS, versionCode ); appParams.put( k_GVERS, BuildConstants.GIT_REV ); - appParams.put( k_GHASH, BuildConstants.GIT_HASH ); + appParams.put( k_GHASH, context.getString( R.string.git_rev ) ); appParams.put( k_INSTALLER, installer ); if ( devOK( context ) ) { appParams.put( k_DEVOK, true ); diff --git a/xwords4/android/scripts/genvers.sh b/xwords4/android/scripts/genvers.sh index 05e85bad9..7f77f5b71 100755 --- a/xwords4/android/scripts/genvers.sh +++ b/xwords4/android/scripts/genvers.sh @@ -50,7 +50,6 @@ cat < ${BUILD_DIR}/src/org/eehouse/android/${VARIANT}/BuildConstants.java package org.eehouse.android.${VARIANT}; class BuildConstants { public static final String GIT_REV = "$SHORTVERS"; - public static final String GIT_HASH = "$GITHASH"; public static final String STRINGS_HASH = "$STRINGS_HASH"; public static final short CLIENT_VERS_RELAY = $CLIENT_VERS_RELAY; public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;