add recurrence to newly created google sync event

This commit is contained in:
tibbi
2017-07-24 22:04:11 +02:00
parent 18b47b3ffc
commit dee94d7c9a

View File

@ -511,6 +511,7 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener {
start = EventDateTime().setDateTime(com.google.api.client.util.DateTime(mEvent.startTS * 1000L))
end = EventDateTime().setDateTime(com.google.api.client.util.DateTime(mEvent.endTS * 1000L))
status = CONFIRMED.toLowerCase()
recurrence = listOf(Parser().getShortRepeatInterval(mEvent))
getGoogleSyncService().events().insert(PRIMARY, this).execute()
}
} catch (ignored: Exception) {