mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
748d959a7d
commit
680149b63d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue