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

Commit ab6c8dbb authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Fix crash in NPVC when notification alerts" into main

parents 0fb697a8 d075b439
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3074,7 +3074,9 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
    }

    private void onClosingFinished() {
        if (mOpenCloseListener != null) {
            mOpenCloseListener.onClosingFinished();
        }
        setClosingWithAlphaFadeout(false);
        mMediaHierarchyManager.closeGuts();
    }
@@ -4705,8 +4707,10 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
            if (mSplitShadeEnabled && !isKeyguardShowing()) {
                mQsController.setExpandImmediate(true);
            }
            if (mOpenCloseListener != null) {
                mOpenCloseListener.onOpenStarted();
            }
        }
        if (state == STATE_CLOSED) {
            mQsController.setExpandImmediate(false);
            // Close the status bar in the next frame so we can show the end of the