Fixed a bug where the height of the group was wrong

This lead to very visible bugs.

Bug: 24866646
Change-Id: I62bfbb2f3895a5a69eb4807d109643bdfdf95351
This commit is contained in:
Selim Cinek
2016-04-05 19:02:37 -07:00
parent ee2c7c7d63
commit f1f270a094

View File

@@ -640,7 +640,7 @@ public class NotificationChildrenContainer extends ViewGroup {
firstChild = false;
}
ExpandableNotificationRow child = mChildren.get(i);
minExpandHeight += child.getMinHeight();
minExpandHeight += child.getSingleLineView().getHeight();
visibleChildren++;
}
minExpandHeight += mCollapsedBottompadding;