From 3579256ef900c056ce06805ade175b3e963f3216 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 25 Jul 2015 09:10:16 -0700 Subject: [PATCH] add app package name to params to update check script (info.py) which can then decide what variant to look for. --- .../src/org/eehouse/android/xw4/UpdateCheckReceiver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 d190a8eb2..bcd5c813b 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/UpdateCheckReceiver.java @@ -138,6 +138,7 @@ public class UpdateCheckReceiver extends BroadcastReceiver { appParams.put( k_GVERS, BuildConstants.GIT_REV ); appParams.put( k_GHASH, context.getString( R.string.git_rev ) ); appParams.put( k_INSTALLER, installer ); + appParams.put( k_NAME, packageName ); if ( devOK( context ) ) { appParams.put( k_DEVOK, true ); } @@ -179,7 +180,7 @@ public class UpdateCheckReceiver extends BroadcastReceiver { params.put( k_STRINGSHASH, BuildConstants.STRINGS_HASH ); params.put( k_NAME, packageName ); params.put( k_AVERS, versionCode ); - DbgUtils.logf( "current update: %s", params.toString() ); + DbgUtils.logdf( "current update: %s", params.toString() ); new UpdateQueryTask( context, params, fromUI, pm, packageName, dals ).execute(); } catch ( org.json.JSONException jse ) {