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
This commit is contained in:
Selim Cinek
2015-07-07 22:28:32 +00:00
committed by Android Git Automerger

View File

@@ -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;