From 4a81083abb6461c972bfc09e7c75febb916e09f3 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Wed, 23 Nov 2022 19:24:13 +0100 Subject: [PATCH] Fix default for global run condition setting (fixes #1852) (#1863) --- .../nutomic/syncthingandroid/service/RunConditionMonitor.java | 2 +- syncthing/src/github.com/syncthing/syncthing | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/service/RunConditionMonitor.java b/app/src/main/java/com/nutomic/syncthingandroid/service/RunConditionMonitor.java index 0a6b286f..de170f02 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/service/RunConditionMonitor.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/service/RunConditionMonitor.java @@ -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); diff --git a/syncthing/src/github.com/syncthing/syncthing b/syncthing/src/github.com/syncthing/syncthing index a523fef7..15c0afec 160000 --- a/syncthing/src/github.com/syncthing/syncthing +++ b/syncthing/src/github.com/syncthing/syncthing @@ -1 +1 @@ -Subproject commit a523fef78e617956f62684e28a4c73372a388c91 +Subproject commit 15c0afec055b935870b05af4483a0598d2e84dbb