Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java +5 −1 Original line number Diff line number Diff line Loading @@ -748,7 +748,11 @@ public final class NotificationEntry extends ListEntry { return row != null && row.getGuts() != null && row.getGuts().isExposed(); } public boolean isChildInGroup() { /** * @return Whether the notification row is a child of a group notification view; false if the * row is null */ public boolean rowIsChildInGroup() { return row != null && row.isChildInGroup(); } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpManagerPhone.java +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public class HeadsUpManagerPhone extends BaseHeadsUpManager implements OnHeadsUp if (!hasPinnedHeadsUp() || topEntry == null) { return null; } else { if (topEntry.isChildInGroup()) { if (topEntry.rowIsChildInGroup()) { final NotificationEntry groupSummary = mGroupMembershipManager.getGroupSummary(topEntry); if (groupSummary != null) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java +5 −1 Original line number Diff line number Diff line Loading @@ -748,7 +748,11 @@ public final class NotificationEntry extends ListEntry { return row != null && row.getGuts() != null && row.getGuts().isExposed(); } public boolean isChildInGroup() { /** * @return Whether the notification row is a child of a group notification view; false if the * row is null */ public boolean rowIsChildInGroup() { return row != null && row.isChildInGroup(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpManagerPhone.java +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public class HeadsUpManagerPhone extends BaseHeadsUpManager implements OnHeadsUp if (!hasPinnedHeadsUp() || topEntry == null) { return null; } else { if (topEntry.isChildInGroup()) { if (topEntry.rowIsChildInGroup()) { final NotificationEntry groupSummary = mGroupMembershipManager.getGroupSummary(topEntry); if (groupSummary != null) { Loading