2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-23 10:20:08 +01:00

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