Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +7 −1 Original line number Diff line number Diff line Loading @@ -4747,7 +4747,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd boolean nowFullyHidden = mAmbientState.isFullyHidden(); boolean nowHiddenAtAll = mAmbientState.isHiddenAtAll(); if (nowFullyHidden != wasFullyHidden) { setVisibility(mAmbientState.isFullyHidden() ? View.INVISIBLE : View.VISIBLE); updateVisibility(); } if (!wasHiddenAtAll && nowHiddenAtAll) { resetExposedMenuView(true /* animate */, true /* animate */); Loading @@ -4760,6 +4760,11 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd requestChildrenUpdate(); } private void updateVisibility() { boolean shouldShow = !mAmbientState.isFullyHidden() || !onKeyguard(); setVisibility(shouldShow ? View.VISIBLE : View.INVISIBLE); } @ShadeViewRefactor(RefactorComponent.STATE_RESOLVER) public void notifyHideAnimationStart(boolean hide) { // We only swap the scaling factor if we're fully hidden or fully awake to avoid Loading Loading @@ -5268,6 +5273,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd onUpdateRowStates(); mEntryManager.updateNotifications(); updateVisibility(); } @ShadeViewRefactor(RefactorComponent.SHADE_VIEW) Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +7 −1 Original line number Diff line number Diff line Loading @@ -4747,7 +4747,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd boolean nowFullyHidden = mAmbientState.isFullyHidden(); boolean nowHiddenAtAll = mAmbientState.isHiddenAtAll(); if (nowFullyHidden != wasFullyHidden) { setVisibility(mAmbientState.isFullyHidden() ? View.INVISIBLE : View.VISIBLE); updateVisibility(); } if (!wasHiddenAtAll && nowHiddenAtAll) { resetExposedMenuView(true /* animate */, true /* animate */); Loading @@ -4760,6 +4760,11 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd requestChildrenUpdate(); } private void updateVisibility() { boolean shouldShow = !mAmbientState.isFullyHidden() || !onKeyguard(); setVisibility(shouldShow ? View.VISIBLE : View.INVISIBLE); } @ShadeViewRefactor(RefactorComponent.STATE_RESOLVER) public void notifyHideAnimationStart(boolean hide) { // We only swap the scaling factor if we're fully hidden or fully awake to avoid Loading Loading @@ -5268,6 +5273,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd onUpdateRowStates(); mEntryManager.updateNotifications(); updateVisibility(); } @ShadeViewRefactor(RefactorComponent.SHADE_VIEW) Loading