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

Commit 172cb769 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Fixing onRestoreInstanceState crash in Launcher" into jb-mr1-dev

parents c9e94ea6 6ccf4e27
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);
        }
    }

    /**