widget crashfix

This commit is contained in:
tibbi 2016-06-03 23:00:27 +02:00
parent aabe8d2d97
commit 91af8550cc

View File

@ -218,6 +218,7 @@ public class MyWidgetProvider extends AppWidgetProvider implements Calculator {
@Override
public void onDeleted(Context context, int[] appWidgetIds) {
super.onDeleted(context, appWidgetIds);
updateWidgetIds();
if (cxt != null)
updateWidgetIds();
}
}