Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ccf4e27 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fixing onRestoreInstanceState crash in Launcher

-> Issue 7084152

Change-Id: Ic91074adfff5918e6471c861313a51d0a179ad08
parent 5ce25d71
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -226,7 +226,12 @@ public class AppWidgetHostView extends FrameLayout {

        if (jail == null) jail = new ParcelableSparseArray();

        try  {
            super.dispatchRestoreInstanceState(jail);
        } catch (Exception e) {
            Log.e(TAG, "failed to restoreInstanceState for widget id: " + mAppWidgetId + ", "
                    + (mInfo == null ? "null" : mInfo.provider), e);
        }
    }

    /**