Fixed a clipping bug when expanding children notification

When children are expanded with a finger we still need to clip!

Change-Id: Ie66bb0ba690163bcabdc503a03f1e23869ec175d
This commit is contained in:
Selim Cinek
2016-01-22 17:48:22 -08:00
parent eb12d19417
commit 084c16b8b3

View File

@@ -652,8 +652,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
@Override
public void setClipToActualHeight(boolean clipToActualHeight) {
super.setClipToActualHeight(clipToActualHeight);
getShowingLayout().setClipToActualHeight(clipToActualHeight);
super.setClipToActualHeight(clipToActualHeight || isUserLocked());
getShowingLayout().setClipToActualHeight(clipToActualHeight || isUserLocked());
}
/**