Simplification

This commit is contained in:
M66B 2019-07-25 17:32:42 +02:00
parent 748d959a7d
commit 680149b63d
1 changed files with 1 additions and 2 deletions

View File

@ -62,8 +62,7 @@ public class WidgetUnified extends AppWidgetProvider {
static void update(Context context) {
Log.i("Widget unified update");
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
int[] appWidgetIds = AppWidgetManager.getInstance(context).getAppWidgetIds(
new ComponentName(context, WidgetUnified.class));
int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, WidgetUnified.class));
appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetIds, R.id.lv);
}
}