summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-05-20 22:13:55 -0700
committerSelim Cinek <cinek@google.com>2015-05-21 18:51:44 +0000
commit0cce531f2e4d67f9a4d8f55009a35bcc8498718e (patch)
treeb20b5d1acd8d4e0ea135d314049b9adecbed9eb4 /packages
parentf98702eae04e239670e8b882d53c974d4b56e291 (diff)
downloadframeworks_base-0cce531f2e4d67f9a4d8f55009a35bcc8498718e.zip
frameworks_base-0cce531f2e4d67f9a4d8f55009a35bcc8498718e.tar.gz
frameworks_base-0cce531f2e4d67f9a4d8f55009a35bcc8498718e.tar.bz2
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
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
index 1e488f3..fa172a4 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -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) {