Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +13 −3 Original line number Diff line number Diff line Loading @@ -1538,9 +1538,7 @@ public class NotificationStackScrollLayout boolean canClip = true; if (child instanceof ExpandableNotificationRow row) { if (row.isChildInGroup()) { ExpandableNotificationRow notifParent = row.getNotificationParent(); canClip = notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging(); canClip = canClipChildRow(row); } if (row.isBackgroundOpaque()) { canClip = false; Loading Loading @@ -1568,6 +1566,18 @@ public class NotificationStackScrollLayout Collections.sort(overlappingList, mNotGoneIndexComparator); } private boolean canClipChildRow(ExpandableNotificationRow row) { ExpandableNotificationRow notifParent = row.getNotificationParent(); if (NotificationBundleUi.isEnabled()) { return notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging() && (!notifParent.isChildInGroup() || canClipChildRow(notifParent)); } else { return notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging(); } } private void updateScrollStateForAddedChildren() { if (mChildrenToAddAnimated.isEmpty()) { return; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +13 −3 Original line number Diff line number Diff line Loading @@ -1538,9 +1538,7 @@ public class NotificationStackScrollLayout boolean canClip = true; if (child instanceof ExpandableNotificationRow row) { if (row.isChildInGroup()) { ExpandableNotificationRow notifParent = row.getNotificationParent(); canClip = notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging(); canClip = canClipChildRow(row); } if (row.isBackgroundOpaque()) { canClip = false; Loading Loading @@ -1568,6 +1566,18 @@ public class NotificationStackScrollLayout Collections.sort(overlappingList, mNotGoneIndexComparator); } private boolean canClipChildRow(ExpandableNotificationRow row) { ExpandableNotificationRow notifParent = row.getNotificationParent(); if (NotificationBundleUi.isEnabled()) { return notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging() && (!notifParent.isChildInGroup() || canClipChildRow(notifParent)); } else { return notifParent.isGroupExpanded() && !notifParent.isGroupExpansionChanging(); } } private void updateScrollStateForAddedChildren() { if (mChildrenToAddAnimated.isEmpty()) { return; Loading