Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +3 −2 Original line number Diff line number Diff line Loading @@ -818,7 +818,8 @@ public class NotificationStackScrollLayout extends ViewGroup */ private float getAppearEndPosition() { int appearPosition; if (mEmptyShadeView.getVisibility() == GONE) { int notGoneChildCount = getNotGoneChildCount(); if (mEmptyShadeView.getVisibility() == GONE && notGoneChildCount != 0) { int minNotificationsForShelf = 1; if (mTrackingHeadsUp || mHeadsUpManager.hasPinnedHeadsUp()) { appearPosition = mHeadsUpManager.getTopHeadsUpPinnedHeight(); Loading @@ -826,7 +827,7 @@ public class NotificationStackScrollLayout extends ViewGroup } else { appearPosition = 0; } if (getNotGoneChildCount() >= minNotificationsForShelf if (notGoneChildCount >= minNotificationsForShelf && mShelf.getVisibility() != GONE) { appearPosition += mShelf.getIntrinsicHeight(); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +3 −2 Original line number Diff line number Diff line Loading @@ -818,7 +818,8 @@ public class NotificationStackScrollLayout extends ViewGroup */ private float getAppearEndPosition() { int appearPosition; if (mEmptyShadeView.getVisibility() == GONE) { int notGoneChildCount = getNotGoneChildCount(); if (mEmptyShadeView.getVisibility() == GONE && notGoneChildCount != 0) { int minNotificationsForShelf = 1; if (mTrackingHeadsUp || mHeadsUpManager.hasPinnedHeadsUp()) { appearPosition = mHeadsUpManager.getTopHeadsUpPinnedHeight(); Loading @@ -826,7 +827,7 @@ public class NotificationStackScrollLayout extends ViewGroup } else { appearPosition = 0; } if (getNotGoneChildCount() >= minNotificationsForShelf if (notGoneChildCount >= minNotificationsForShelf && mShelf.getVisibility() != GONE) { appearPosition += mShelf.getIntrinsicHeight(); } Loading