1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-03 16:51:32 +00:00

Fix default for global run condition setting (fixes #1852) (#1863)

This commit is contained in:
Simon Frei 2022-11-23 19:24:13 +01:00
parent c8ac58586e
commit 4a83dbf409
No known key found for this signature in database
GPG key ID: 7C31D23ECB1006F3
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ public class RunConditionMonitor {
*/ */
private RunConditionCheckResult decideShouldRun() { private RunConditionCheckResult decideShouldRun() {
// Get run conditions preferences. // Get run conditions preferences.
boolean prefRunConditions= mPreferences.getBoolean(Constants.PREF_RUN_CONDITIONS, false); boolean prefRunConditions= mPreferences.getBoolean(Constants.PREF_RUN_CONDITIONS, true);
boolean prefRunOnMobileData= mPreferences.getBoolean(Constants.PREF_RUN_ON_MOBILE_DATA, false); boolean prefRunOnMobileData= mPreferences.getBoolean(Constants.PREF_RUN_ON_MOBILE_DATA, false);
boolean prefRunOnWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_WIFI, true); boolean prefRunOnWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_WIFI, true);
boolean prefRunOnMeteredWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_METERED_WIFI, false); boolean prefRunOnMeteredWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_METERED_WIFI, false);

@ -1 +1 @@
Subproject commit a523fef78e617956f62684e28a4c73372a388c91 Subproject commit 15c0afec055b935870b05af4483a0598d2e84dbb