Fixed a bug where a notification could get below the empty shade view

This lead to a temporary flash when a notification came in with
the empty shade view being visible.

Bug: 20972545
Change-Id: I2b06f63dd43bf53bb2d1da0cddb635a709663f71
This commit is contained in:
Selim Cinek
2015-05-20 22:13:55 -07:00
parent f98702eae0
commit 0cce531f2e

View File

@@ -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) {