widget crashfix

This commit is contained in:
tibbi 2016-06-03 23:00:27 +02:00
parent aabe8d2d97
commit 91af8550cc
1 changed files with 2 additions and 1 deletions

View File

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