widget crashfix
This commit is contained in:
parent
aabe8d2d97
commit
91af8550cc
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
if (cxt != null)
|
||||||
updateWidgetIds();
|
updateWidgetIds();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue