diff --git a/app/src/main/java/at/bitfire/davdroid/AccountSettings.java b/app/src/main/java/at/bitfire/davdroid/AccountSettings.java index e1679634..552b3e17 100644 --- a/app/src/main/java/at/bitfire/davdroid/AccountSettings.java +++ b/app/src/main/java/at/bitfire/davdroid/AccountSettings.java @@ -184,20 +184,6 @@ public class AccountSettings { // CalDAV settings - @Nullable - public Integer getTimeRangePastDays() { - String strDays = accountManager.getUserData(account, KEY_TIME_RANGE_PAST_DAYS); - if (strDays != null) { - int days = Integer.valueOf(strDays); - return days < 0 ? null : days; - } else - return DEFAULT_TIME_RANGE_PAST_DAYS; - } - - public void setTimeRangePastDays(@Nullable Integer days) { - accountManager.setUserData(account, KEY_TIME_RANGE_PAST_DAYS, String.valueOf(days == null ? -1 : days)); - } - public boolean getManageCalendarColors() { return accountManager.getUserData(account, KEY_MANAGE_CALENDAR_COLORS) == null; } diff --git a/app/src/main/java/at/bitfire/davdroid/ui/DebugInfoActivity.java b/app/src/main/java/at/bitfire/davdroid/ui/DebugInfoActivity.java index 0ee9f64f..1f14a314 100644 --- a/app/src/main/java/at/bitfire/davdroid/ui/DebugInfoActivity.java +++ b/app/src/main/java/at/bitfire/davdroid/ui/DebugInfoActivity.java @@ -229,7 +229,6 @@ public class DebugInfoActivity extends AppCompatActivity implements LoaderManage if (settings.getSyncWifiOnlySSID() != null) report.append(", SSID: ").append(settings.getSyncWifiOnlySSID()); report.append("\n [CardDAV] Contact group method: ").append(settings.getGroupMethod()) - .append("\n [CalDAV] Time range (past days): ").append(settings.getTimeRangePastDays()) .append("\n Manage calendar colors: ").append(settings.getManageCalendarColors()) .append("\n"); } catch(InvalidAccountException e) {