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

Commit 01dee0df authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Swiping from L/R opens Notifications/QS"

parents 7205041a dfa4a368
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -1266,6 +1266,15 @@ public class NotificationPanelView extends PanelView implements
            // earlier so the state is already up to date when dragging down.
            setListening(true);
        }
        if (isQsSplitEnabled() && !mKeyguardShowing) {
            if (mQsExpandImmediate) {
                mNotificationStackScroller.setVisibility(View.GONE);
                mQsFrame.setVisibility(View.VISIBLE);
            } else {
                mNotificationStackScroller.setVisibility(View.VISIBLE);
                mQsFrame.setVisibility(View.GONE);
            }
        }
        return false;
    }

@@ -1539,6 +1548,10 @@ public class NotificationPanelView extends PanelView implements

        mBarState = statusBarState;
        mKeyguardShowing = keyguardShowing;
        if (mKeyguardShowing && isQsSplitEnabled()) {
            mNotificationStackScroller.setVisibility(View.VISIBLE);
            mQsFrame.setVisibility(View.VISIBLE);
        }

        if (oldState == StatusBarState.KEYGUARD
                && (goingToFullShade || statusBarState == StatusBarState.SHADE_LOCKED)) {