Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -2347,6 +2347,7 @@ public class NotificationStackScrollLayout extends ViewGroup if (hasAddEvent) { if (hasAddEvent) { // This child was just added lets remove all events. // This child was just added lets remove all events. mHeadsUpChangeAnimations.removeAll(mTmpList); mHeadsUpChangeAnimations.removeAll(mTmpList); ((ExpandableNotificationRow ) child).setHeadsupDisappearRunning(false); } } mTmpList.clear(); mTmpList.clear(); return hasAddEvent; return hasAddEvent; Loading Loading @@ -3093,6 +3094,16 @@ public class NotificationStackScrollLayout extends ViewGroup requestChildrenUpdate(); requestChildrenUpdate(); runAnimationFinishedRunnables(); runAnimationFinishedRunnables(); clearViewOverlays(); clearViewOverlays(); clearHeadsUpDisappearRunning(); } private void clearHeadsUpDisappearRunning() { for (int i = 0; i < getChildCount(); i++) { View view = getChildAt(i); if (view instanceof ExpandableNotificationRow) { ((ExpandableNotificationRow) view).setHeadsupDisappearRunning(false); } } } } private void clearViewOverlays() { private void clearViewOverlays() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -2347,6 +2347,7 @@ public class NotificationStackScrollLayout extends ViewGroup if (hasAddEvent) { if (hasAddEvent) { // This child was just added lets remove all events. // This child was just added lets remove all events. mHeadsUpChangeAnimations.removeAll(mTmpList); mHeadsUpChangeAnimations.removeAll(mTmpList); ((ExpandableNotificationRow ) child).setHeadsupDisappearRunning(false); } } mTmpList.clear(); mTmpList.clear(); return hasAddEvent; return hasAddEvent; Loading Loading @@ -3093,6 +3094,16 @@ public class NotificationStackScrollLayout extends ViewGroup requestChildrenUpdate(); requestChildrenUpdate(); runAnimationFinishedRunnables(); runAnimationFinishedRunnables(); clearViewOverlays(); clearViewOverlays(); clearHeadsUpDisappearRunning(); } private void clearHeadsUpDisappearRunning() { for (int i = 0; i < getChildCount(); i++) { View view = getChildAt(i); if (view instanceof ExpandableNotificationRow) { ((ExpandableNotificationRow) view).setHeadsupDisappearRunning(false); } } } } private void clearViewOverlays() { private void clearViewOverlays() { Loading