use of org.fairphone.widgets.appswitcher.WidgetProvider in project Fairphone by Kwamecorp.
the class LauncherTransitionable method updateAppSwitcherWidgets.
public void updateAppSwitcherWidgets() {
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this);
int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(this, WidgetProvider.class));
if (appWidgetIds.length > 0) {
new WidgetProvider().onUpdate(this, appWidgetManager, appWidgetIds);
}
}
Aggregations