diff --git a/ritscheduler/src/main/java/me/jlurena/ritscheduler/homescreen/WidgetProvider.java b/ritscheduler/src/main/java/me/jlurena/ritscheduler/homescreen/WidgetProvider.java index 2d5b634..605b3f8 100644 --- a/ritscheduler/src/main/java/me/jlurena/ritscheduler/homescreen/WidgetProvider.java +++ b/ritscheduler/src/main/java/me/jlurena/ritscheduler/homescreen/WidgetProvider.java @@ -83,7 +83,7 @@ private static void updateAppWidget(Context context, AppWidgetManager appWidgetM @Override public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) { int width = Util.dp2px(newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH)); - Intent broadcastIntent = new Intent(); + Intent broadcastIntent = new Intent(ACTION_REFRESH); broadcastIntent.putExtra(KEY_SIZE_CHANGE, width); context.sendBroadcast(broadcastIntent); updateAppWidget(context, appWidgetManager, appWidgetId);