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

Commit 5f2ca6b1 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where the header would flicker weirdly when replying

Also fixed a bug where the header could stay on the lockscreen.

Change-Id: Icad3d0db7b95745bd640b20750b9f0eba383d798
Fixes: 31469380
parent d2700049
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -320,4 +320,9 @@ public class QSContainer extends FrameLayout {
    public int getQsMinExpansionHeight() {
        return mHeader.getHeight();
    }

    public void hideImmediately() {
        animate().cancel();
        setY(-mHeader.getHeight());
    }
}
+3 −2
Original line number Diff line number Diff line
@@ -1002,8 +1002,8 @@ public class NotificationPanelView extends PanelView implements
        mKeyguardShowing = keyguardShowing;
        mQsContainer.setKeyguardShowing(mKeyguardShowing);

        if (goingToFullShade || (oldState == StatusBarState.KEYGUARD
                && statusBarState == StatusBarState.SHADE_LOCKED)) {
        if (oldState == StatusBarState.KEYGUARD
                && (goingToFullShade || statusBarState == StatusBarState.SHADE_LOCKED)) {
            animateKeyguardStatusBarOut();
            long delay = mStatusBarState == StatusBarState.SHADE_LOCKED
                    ? 0 : mStatusBar.calculateGoingToFullShadeDelay();
@@ -1017,6 +1017,7 @@ public class NotificationPanelView extends PanelView implements
            mKeyguardStatusBar.setVisibility(keyguardShowing ? View.VISIBLE : View.INVISIBLE);
            if (keyguardShowing && oldState != mStatusBarState) {
                mKeyguardBottomArea.onKeyguardShowingChanged();
                mQsContainer.hideImmediately();
            }
        }
        if (keyguardShowing) {