From 03113c70ae3744ee6d74598cf36f4a077a1699e8 Mon Sep 17 00:00:00 2001 From: mendhak Date: Fri, 7 Jul 2023 13:49:54 +0100 Subject: [PATCH] Set 'when I press stop' as a default option Issue #1082 --- .../java/com/mendhak/gpslogger/common/PreferenceHelper.java | 2 +- gpslogger/src/main/res/xml/pref_upload.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpslogger/src/main/java/com/mendhak/gpslogger/common/PreferenceHelper.java b/gpslogger/src/main/java/com/mendhak/gpslogger/common/PreferenceHelper.java index c33267128..fd5a8e56c 100644 --- a/gpslogger/src/main/java/com/mendhak/gpslogger/common/PreferenceHelper.java +++ b/gpslogger/src/main/java/com/mendhak/gpslogger/common/PreferenceHelper.java @@ -814,7 +814,7 @@ public void setAutoSendInterval(String frequency){ */ @ProfilePreference(name= PreferenceNames.AUTOSEND_ON_STOP) public boolean shouldAutoSendOnStopLogging() { - return prefs.getBoolean(PreferenceNames.AUTOSEND_ON_STOP, false); + return prefs.getBoolean(PreferenceNames.AUTOSEND_ON_STOP, true); } public void setDebugToFile(boolean writeToFile) { diff --git a/gpslogger/src/main/res/xml/pref_upload.xml b/gpslogger/src/main/res/xml/pref_upload.xml index 8e8e8816a..cf08fab92 100644 --- a/gpslogger/src/main/res/xml/pref_upload.xml +++ b/gpslogger/src/main/res/xml/pref_upload.xml @@ -21,7 +21,7 @@ app:iconSpaceReserved="false" />