diff options
| author | 2015-07-07 22:28:32 +0000 | |
|---|---|---|
| committer | 2015-07-07 22:28:32 +0000 | |
| commit | 027efdfd6bd9076a38bc14e7fad52ea9930d93f2 (patch) | |
| tree | 8101fe9c40c42f6757b9452b8ff40f4c54d69c10 | |
| parent | cceb8268a12743b78593e34df662e45a8ee618ed (diff) | |
| parent | cffb98c8d77c743165d06f588ba5a5e424796349 (diff) | |
am cffb98c8: Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev
* commit 'cffb98c8d77c743165d06f588ba5a5e424796349':
Fixed a bug where notification where invisible on the lockscreen
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java | 4 |
1 files changed, 1 insertions, 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; |