Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +3 −0 Original line number Diff line number Diff line Loading @@ -2008,6 +2008,9 @@ public class NotificationStackScrollLayout extends ViewGroup mStackScrollAlgorithm.onExpansionStopped(); if (!mIsExpanded) { mOwnScrollY = 0; // lets make sure nothing is in the overlay anymore getOverlay().clear(); } } Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/StackStateAnimator.java +5 −0 Original line number Diff line number Diff line Loading @@ -794,6 +794,11 @@ public class StackStateAnimator { mHostLayout.getOverlay().remove(changingView); } }); } else if (event.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_REMOVE_SWIPED_OUT) { // A race condition can trigger the view to be added to the overlay even though // it is swiped out. So let's remove it mHostLayout.getOverlay().remove(changingView); } mNewEvents.add(event); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +3 −0 Original line number Diff line number Diff line Loading @@ -2008,6 +2008,9 @@ public class NotificationStackScrollLayout extends ViewGroup mStackScrollAlgorithm.onExpansionStopped(); if (!mIsExpanded) { mOwnScrollY = 0; // lets make sure nothing is in the overlay anymore getOverlay().clear(); } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackStateAnimator.java +5 −0 Original line number Diff line number Diff line Loading @@ -794,6 +794,11 @@ public class StackStateAnimator { mHostLayout.getOverlay().remove(changingView); } }); } else if (event.animationType == NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_REMOVE_SWIPED_OUT) { // A race condition can trigger the view to be added to the overlay even though // it is swiped out. So let's remove it mHostLayout.getOverlay().remove(changingView); } mNewEvents.add(event); } Loading