We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce25d7 commit 6ccf4e2Copy full SHA for 6ccf4e2
core/java/android/appwidget/AppWidgetHostView.java
@@ -226,7 +226,12 @@ protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) {
226
227
if (jail == null) jail = new ParcelableSparseArray();
228
229
- super.dispatchRestoreInstanceState(jail);
+ try {
230
+ super.dispatchRestoreInstanceState(jail);
231
+ } catch (Exception e) {
232
+ Log.e(TAG, "failed to restoreInstanceState for widget id: " + mAppWidgetId + ", "
233
+ + (mInfo == null ? "null" : mInfo.provider), e);
234
+ }
235
}
236
237
/**
0 commit comments