am 027efdfd: am cffb98c8: Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev

* commit '027efdfd6bd9076a38bc14e7fad52ea9930d93f2':
  Fixed a bug where notification where invisible on the lockscreen
This commit is contained in:
Selim Cinek
2015-07-07 22:44:21 +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;