1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Remove unused setting to get caldav past days.

This commit is contained in:
Tom Hacohen 2017-02-14 10:10:14 +00:00
parent 69864ac781
commit ff5c5b5230
2 changed files with 0 additions and 15 deletions

View File

@ -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;
}

View File

@ -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) {