1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +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 committed by GitHub
parent d46fe60888
commit 4a81083abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ public class RunConditionMonitor {
*/
private RunConditionCheckResult decideShouldRun() {
// 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 prefRunOnWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_WIFI, true);
boolean prefRunOnMeteredWifi= mPreferences.getBoolean(Constants.PREF_RUN_ON_METERED_WIFI, false);

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