schedule a widget update in onUpdate too, just to be sure

This commit is contained in:
tibbi 2018-03-12 19:30:01 +01:00
parent 4a1f1cb1f2
commit 01429207c9
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class MyWidgetDateTimeProvider : AppWidgetProvider() {
override fun onUpdate(context: Context, appWidgetManager: AppWidgetManager, appWidgetIds: IntArray) {
performUpdate(context)
context.scheduleNextWidgetUpdate()
}
override fun onEnabled(context: Context) {