Disable autoupdater in Google Play edition

This commit is contained in:
a1batross 2016-09-13 21:34:30 +03:00
parent 54166f6be4
commit 3fb08631c4

View file

@ -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);
} }