lets also refresh the calendar without any delay

This commit is contained in:
tibbi 2017-08-20 22:07:12 +02:00
parent b94ed6d07c
commit 90164ba8ed
1 changed files with 1 additions and 0 deletions

View File

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