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

Commit 15b95445 authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am 0cce531f: Fixed a bug where a notification could get below the empty shade view

* commit '0cce531f':
  Fixed a bug where a notification could get below the empty shade view
parents 2e5c21b8 0cce531f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1848,10 +1848,10 @@ public abstract class BaseStatusBar extends SystemUI implements
            mKeyguardIconOverflowContainer.setVisibility(View.GONE);
        }

        mStackScroller.changeViewPosition(mDismissView, mStackScroller.getChildCount() - 1);
        mStackScroller.changeViewPosition(mEmptyShadeView, mStackScroller.getChildCount() - 2);
        mStackScroller.changeViewPosition(mKeyguardIconOverflowContainer,
                mStackScroller.getChildCount() - 3);
        mStackScroller.changeViewPosition(mEmptyShadeView, mStackScroller.getChildCount() - 2);
        mStackScroller.changeViewPosition(mDismissView, mStackScroller.getChildCount() - 1);
    }

    private boolean shouldShowOnKeyguard(StatusBarNotification sbn) {