diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 20881402952e3..b864a0e9e5347 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -761,9 +761,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { mRemoved = true; mPrivateLayout.setRemoved(); - if (mChildrenContainer != null) { - mChildrenContainer.setRemoved(); - } } public NotificationChildrenContainer getChildrenContainer() { diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java index ba191cd1d31ef..3c9373bd46a27 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java @@ -856,14 +856,6 @@ public class NotificationChildrenContainer extends ViewGroup { mNotificationParent.getNotificationColor()); } - public void setRemoved() { - int childCount = mChildren.size(); - for (int i = 0; i < childCount; i++) { - ExpandableNotificationRow child = mChildren.get(i); - child.setRemoved(); - } - } - public int getPositionInLinearLayout(View childInGroup) { int position = mNotificationHeaderMargin + mNotificatonTopPadding;