From 90164ba8ed0b9d1649bb85de6d0b26cadee39750 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 20 Aug 2017 22:07:12 +0200 Subject: [PATCH] lets also refresh the calendar without any delay --- .../com/simplemobiletools/calendar/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index e058fb8b9..b99e81882 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -226,6 +226,7 @@ class MainActivity : SimpleActivity(), NavigationListener { contentResolver.registerContentObserver(uri, false, calDAVSyncObserver) Bundle().apply { putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true) + putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true) ContentResolver.requestSync(null, uri.authority, this) } }