Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev

This commit is contained in:
Selim Cinek
2015-07-07 22:16:30 +00:00
committed by Android (Google) Code Review

View File

@@ -25,8 +25,6 @@ import com.android.systemui.statusbar.StatusBarState;
import java.util.HashMap; import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/** /**
* A class to handle notifications and their corresponding groups. * A class to handle notifications and their corresponding groups.
@@ -143,7 +141,7 @@ public class NotificationGroupManager {
return true; return true;
} }
NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); NotificationGroup group = mGroupMap.get(sbn.getGroupKey());
if (group != null && group.expanded) { if (group != null && (group.expanded || group.summary == null)) {
return true; return true;
} }
return false; return false;