Added option to force polling on (un)metered networks

This commit is contained in:
M66B
2024-01-15 09:44:02 +01:00
parent 1909411855
commit 5c9b6a347f
5 changed files with 62 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
private static final String ACTION_NEW_MESSAGE_COUNT = BuildConfig.APPLICATION_ID + ".NEW_MESSAGE_COUNT";
private static final List<String> PREF_EVAL = Collections.unmodifiableList(Arrays.asList(
"enabled", "poll_interval", "last_daily" // restart account(s)
"enabled", "poll_interval", "poll_metered", "poll_unmetered", "last_daily" // restart account(s)
));
private static final List<String> PREF_RELOAD = Collections.unmodifiableList(Arrays.asList(