mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Disable update check for third part builds
This commit is contained in:
@@ -685,7 +685,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
}
|
||||
|
||||
private void checkUpdate(boolean always) {
|
||||
if (Helper.isPlayStoreInstall(this))
|
||||
if (Helper.isPlayStoreInstall(this) || !Helper.hasValidFingerprint(this))
|
||||
return;
|
||||
|
||||
long now = new Date().getTime();
|
||||
|
||||
@@ -311,7 +311,9 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
swEnglish.setChecked(prefs.getBoolean("english", false));
|
||||
swWatchdog.setChecked(prefs.getBoolean("watchdog", true));
|
||||
swUpdates.setChecked(prefs.getBoolean("updates", true));
|
||||
swUpdates.setVisibility(Helper.isPlayStoreInstall(getContext()) ? View.GONE : View.VISIBLE);
|
||||
swUpdates.setVisibility(
|
||||
Helper.isPlayStoreInstall(getContext()) || !Helper.hasValidFingerprint(getContext())
|
||||
? View.GONE : View.VISIBLE);
|
||||
swCrashReports.setChecked(prefs.getBoolean("crash_reports", false));
|
||||
swDebug.setChecked(prefs.getBoolean("debug", false));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user