Skip to content

Commit

Permalink
Set 'when I press stop' as a default option
Browse files Browse the repository at this point in the history
Issue #1082
  • Loading branch information
mendhak committed Jul 7, 2023
1 parent e25a7a5 commit 03113c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion gpslogger/src/main/res/xml/pref_upload.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
app:iconSpaceReserved="false" />

<SwitchPreferenceCompat
android:defaultValue="false"
android:defaultValue="true"
android:key="autosend_frequency_whenstoppressed"
android:title="@string/autoemail_frequency_whenistop"
app:iconSpaceReserved="false" />
Expand Down

0 comments on commit 03113c7

Please sign in to comment.