Skip to content

Commit

Permalink
fix(widgets): Unexpected action received: APPWIDGET_UPDATE_OPTIONS
Browse files Browse the repository at this point in the history
This ignores `android.appwidget.action.APPWIDGET_UPDATE_OPTIONS` for now

Fixes 17151
  • Loading branch information
david-allison committed Sep 28, 2024
1 parent 388fd64 commit 3c4a88b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ class CardAnalysisWidget : AnalyticsWidgetProvider() {
updateWidget(context, AppWidgetManager.getInstance(context), appWidgetId)
}
}
AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED -> {
// TODO: #17151 not yet handled. Exists to stop ACRA errors
}
AppWidgetManager.ACTION_APPWIDGET_DELETED -> {
Timber.d("ACTION_APPWIDGET_DELETED received")
val appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ class DeckPickerWidget : AnalyticsWidgetProvider() {
Timber.e("Invalid widget ID received in ACTION_APPWIDGET_DELETED")
}
}
AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED -> {
// TODO: #17151: not yet handled. Exists to stop ACRA errors
}
AppWidgetManager.ACTION_APPWIDGET_ENABLED -> {
Timber.d("Widget enabled")
}
Expand Down

0 comments on commit 3c4a88b

Please sign in to comment.