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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user