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

Commit 01b5cd29 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adding null check for mNotificationShadeView" into tm-dev

parents 2a82f857 5da1b261
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -386,12 +386,14 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
            }
            visible = true;
        }
        if (mNotificationShadeView != null) {
            if (visible) {
                mNotificationShadeView.setVisibility(View.VISIBLE);
            } else {
                mNotificationShadeView.setVisibility(View.INVISIBLE);
            }
        }
    }

    private boolean isExpanded(State state) {
        return !state.mForceCollapsed && (state.isKeyguardShowingAndNotOccluded()