lets also refresh the calendar without any delay
This commit is contained in:
parent
b94ed6d07c
commit
90164ba8ed
|
@ -226,6 +226,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
||||||
contentResolver.registerContentObserver(uri, false, calDAVSyncObserver)
|
contentResolver.registerContentObserver(uri, false, calDAVSyncObserver)
|
||||||
Bundle().apply {
|
Bundle().apply {
|
||||||
putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true)
|
putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true)
|
||||||
|
putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true)
|
||||||
ContentResolver.requestSync(null, uri.authority, this)
|
ContentResolver.requestSync(null, uri.authority, this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue