Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -355,10 +355,10 @@ public class NotificationEntryManager implements // a child we're keeping around for reply! continue; } entry.setKeepInParent(true); childEntry.setKeepInParent(true); // we need to set this state earlier as otherwise we might generate some weird // animations entry.removeRow(); childEntry.removeRow(); } } } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java +14 −3 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ public final class NotificationEntry { public boolean suspended; private NotificationEntry parent; // our parent (if we're in a group) private ArrayList<NotificationEntry> children = new ArrayList<NotificationEntry>(); private ExpandableNotificationRow row; // the outer expanded view private int mCachedContrastColor = COLOR_INVALID; Loading Loading @@ -277,10 +276,20 @@ public final class NotificationEntry { @Nullable public List<NotificationEntry> getChildren() { if (children.size() <= 0) { if (row == null) { return null; } List<ExpandableNotificationRow> rowChildren = row.getNotificationChildren(); if (rowChildren == null) { return null; } ArrayList<NotificationEntry> children = new ArrayList<>(); for (ExpandableNotificationRow child : rowChildren) { children.add(child.getEntry()); } return children; } Loading Loading @@ -740,7 +749,9 @@ public final class NotificationEntry { if (notification == null || !notification.isClearable()) { return false; } if (children.size() > 0) { List<NotificationEntry> children = getChildren(); if (children != null && children.size() > 0) { for (int i = 0; i < children.size(); i++) { NotificationEntry child = children.get(i); if (!child.isClearable()) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -355,10 +355,10 @@ public class NotificationEntryManager implements // a child we're keeping around for reply! continue; } entry.setKeepInParent(true); childEntry.setKeepInParent(true); // we need to set this state earlier as otherwise we might generate some weird // animations entry.removeRow(); childEntry.removeRow(); } } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java +14 −3 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ public final class NotificationEntry { public boolean suspended; private NotificationEntry parent; // our parent (if we're in a group) private ArrayList<NotificationEntry> children = new ArrayList<NotificationEntry>(); private ExpandableNotificationRow row; // the outer expanded view private int mCachedContrastColor = COLOR_INVALID; Loading Loading @@ -277,10 +276,20 @@ public final class NotificationEntry { @Nullable public List<NotificationEntry> getChildren() { if (children.size() <= 0) { if (row == null) { return null; } List<ExpandableNotificationRow> rowChildren = row.getNotificationChildren(); if (rowChildren == null) { return null; } ArrayList<NotificationEntry> children = new ArrayList<>(); for (ExpandableNotificationRow child : rowChildren) { children.add(child.getEntry()); } return children; } Loading Loading @@ -740,7 +749,9 @@ public final class NotificationEntry { if (notification == null || !notification.isClearable()) { return false; } if (children.size() > 0) { List<NotificationEntry> children = getChildren(); if (children != null && children.size() > 0) { for (int i = 0; i < children.size(); i++) { NotificationEntry child = children.get(i); if (!child.isClearable()) { Loading