Auto event: tentative availability

This commit is contained in:
M66B 2022-11-03 10:19:55 +01:00
parent 91dc74a331
commit e33eb40833
1 changed files with 1 additions and 0 deletions

View File

@ -3974,6 +3974,7 @@ public class MessageHelper {
if (!TextUtils.isEmpty(location))
values.put(CalendarContract.Events.EVENT_LOCATION, location);
values.put(CalendarContract.Events.STATUS, CalendarContract.Events.STATUS_TENTATIVE);
values.put(CalendarContract.Events.AVAILABILITY, CalendarContract.Events.AVAILABILITY_TENTATIVE);
Uri uri = resolver.insert(CalendarContract.Events.CONTENT_URI, values);
long eventId = Long.parseLong(uri.getLastPathSegment());