diff --git a/app/src/main/java/com/etesync/syncadapter/model/CollectionInfo.java b/app/src/main/java/com/etesync/syncadapter/model/CollectionInfo.java index 49745588..bcf072f0 100644 --- a/app/src/main/java/com/etesync/syncadapter/model/CollectionInfo.java +++ b/app/src/main/java/com/etesync/syncadapter/model/CollectionInfo.java @@ -50,10 +50,6 @@ public class CollectionInfo implements Serializable { @Expose public String timeZone; - @Expose - public Boolean supportsVEVENT; - @Expose - public Boolean supportsVTODO; @Expose public boolean selected; @@ -69,12 +65,6 @@ public class CollectionInfo implements Serializable { info.readOnly = false; info.type = service; - if (service.equals(Type.CALENDAR)) { - info.supportsVEVENT = true; - // info.supportsVTODO = true; - } else { - // Carddav - } return info; } @@ -100,8 +90,6 @@ public class CollectionInfo implements Serializable { info.color = values.getAsInteger(Collections.COLOR); info.timeZone = values.getAsString(Collections.TIME_ZONE); - info.supportsVEVENT = getAsBooleanOrNull(values, Collections.SUPPORTS_VEVENT); - info.supportsVTODO = getAsBooleanOrNull(values, Collections.SUPPORTS_VTODO); info.selected = values.getAsInteger(Collections.SYNC) != 0; return info; diff --git a/app/src/main/java/com/etesync/syncadapter/model/ServiceDB.java b/app/src/main/java/com/etesync/syncadapter/model/ServiceDB.java index 6059b745..1613ce15 100644 --- a/app/src/main/java/com/etesync/syncadapter/model/ServiceDB.java +++ b/app/src/main/java/com/etesync/syncadapter/model/ServiceDB.java @@ -57,8 +57,6 @@ public class ServiceDB { DESCRIPTION = "description", COLOR = "color", TIME_ZONE = "timezone", - SUPPORTS_VEVENT = "supportsVEVENT", - SUPPORTS_VTODO = "supportsVTODO", SYNC = "sync"; } diff --git a/app/src/main/java/com/etesync/syncadapter/ui/CreateCollectionActivity.java b/app/src/main/java/com/etesync/syncadapter/ui/CreateCollectionActivity.java index 00bbe28b..f43479ae 100644 --- a/app/src/main/java/com/etesync/syncadapter/ui/CreateCollectionActivity.java +++ b/app/src/main/java/com/etesync/syncadapter/ui/CreateCollectionActivity.java @@ -118,8 +118,6 @@ public class CreateCollectionActivity extends AppCompatActivity { if (info.type == CollectionInfo.Type.CALENDAR) { View view = findViewById(R.id.color); info.color = ((ColorDrawable) view.getBackground()).getColor(); - - info.supportsVEVENT = true; } info.selected = true;