Disable autoupdater in Google Play edition
This commit is contained in:
parent
54166f6be4
commit
3fb08631c4
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ public class LauncherActivity extends Activity {
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
if(mPref.getBoolean("check_updates", true))
|
if( !XashConfig.GP_VERSION && // disable autoupdater for Google Play
|
||||||
|
mPref.getBoolean("check_updates", true))
|
||||||
{
|
{
|
||||||
new CheckUpdate(true, updateToBeta.isChecked()).execute(UPDATE_LINK);
|
new CheckUpdate(true, updateToBeta.isChecked()).execute(UPDATE_LINK);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue