Fixed a bug where the content wasn't transforming in a group

Too many booleans.

Change-Id: I1451484b1abcae3880448db60cff18ad97e9505f
Fixes: 28677158
This commit is contained in:
Selim Cinek
2016-05-10 17:11:54 -04:00
parent fa760d4636
commit 6ac3fa8ebd

View File

@@ -706,7 +706,7 @@ public class NotificationContentView extends FrameLayout {
}
} else {
if (noExpandedChild || (viewHeight <= mContractedChild.getHeight()
&& (!mIsChildInGroup
&& (!mIsChildInGroup || isGroupExpanded()
|| !mContainingNotification.isExpanded(true /* allowOnKeyguard */)))) {
return VISIBLE_TYPE_CONTRACTED;
} else {