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

Commit e7767359 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix NPE in PanelFragment" am: 06cafcd7 am: 98e3ed4e am: 6ad23a34...

Merge "Fix NPE in PanelFragment" am: 06cafcd7 am: 98e3ed4e am: 6ad23a34 am: 9b798aa7 am: 2b481a59

Change-Id: Ic082a4f9aa65114eec606edb77c3c7bb8e2be8e8
parents b4909b5f 2b481a59
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -156,8 +156,13 @@ public class PanelFragment extends Fragment {

    private void createPanelContent() {
        final FragmentActivity activity = getActivity();
        if (activity == null) {
            return;
        }

        if (mLayoutView == null) {
            activity.finish();
            return;
        }

        mPanelSlices = mLayoutView.findViewById(R.id.panel_parent_layout);
@@ -183,6 +188,7 @@ public class PanelFragment extends Fragment {

        if (mPanel == null) {
            activity.finish();
            return;
        }

        mPanel.registerCallback(new LocalPanelCallback());