Poll on old Android versions

This commit is contained in:
M66B
2022-11-26 08:31:05 +01:00
parent 155ed8d698
commit 0f5e53040d
2 changed files with 5 additions and 1 deletions

View File

@@ -662,6 +662,9 @@ public class ApplicationEx extends Application
else if (version < 1994) {
// 2022-10-28 Spamcop blocks Google's addresses
editor.putBoolean("blocklist.Spamcop", false);
} else if (version < 2011) {
if (!prefs.contains("poll_interval"))
editor.putInt("poll_interval", 0);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)