From acf52ba54d5d64f3dad3dc5c7f9275216512f226 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Tue, 7 Jul 2015 14:54:10 -0700 Subject: Fixed a bug where notification where invisible on the lockscreen Bug: 22328974 Change-Id: I4e7b813c400b85b71b61cb415f529872c75fcca6 --- .../android/systemui/statusbar/phone/NotificationGroupManager.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java index 7072dcba8881..950b1627475d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java @@ -25,8 +25,6 @@ import com.android.systemui.statusbar.StatusBarState; import java.util.HashMap; import java.util.HashSet; -import java.util.Map; -import java.util.Set; /** * A class to handle notifications and their corresponding groups. @@ -143,7 +141,7 @@ public class NotificationGroupManager { return true; } NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); - if (group != null && group.expanded) { + if (group != null && (group.expanded || group.summary == null)) { return true; } return false; -- cgit v1.2.3-59-g8ed1b