mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-08 20:46:12 +01:00
add app package name to params to update check script (info.py) which
can then decide what variant to look for.
This commit is contained in:
parent
7c8c6bb55b
commit
3579256ef9
1 changed files with 2 additions and 1 deletions
|
@ -138,6 +138,7 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
|
||||||
appParams.put( k_GVERS, BuildConstants.GIT_REV );
|
appParams.put( k_GVERS, BuildConstants.GIT_REV );
|
||||||
appParams.put( k_GHASH, context.getString( R.string.git_rev ) );
|
appParams.put( k_GHASH, context.getString( R.string.git_rev ) );
|
||||||
appParams.put( k_INSTALLER, installer );
|
appParams.put( k_INSTALLER, installer );
|
||||||
|
appParams.put( k_NAME, packageName );
|
||||||
if ( devOK( context ) ) {
|
if ( devOK( context ) ) {
|
||||||
appParams.put( k_DEVOK, true );
|
appParams.put( k_DEVOK, true );
|
||||||
}
|
}
|
||||||
|
@ -179,7 +180,7 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
|
||||||
params.put( k_STRINGSHASH, BuildConstants.STRINGS_HASH );
|
params.put( k_STRINGSHASH, BuildConstants.STRINGS_HASH );
|
||||||
params.put( k_NAME, packageName );
|
params.put( k_NAME, packageName );
|
||||||
params.put( k_AVERS, versionCode );
|
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,
|
new UpdateQueryTask( context, params, fromUI, pm,
|
||||||
packageName, dals ).execute();
|
packageName, dals ).execute();
|
||||||
} catch ( org.json.JSONException jse ) {
|
} catch ( org.json.JSONException jse ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue