commit | 084c16b8b380e7ff0d38d9e2846db321f0214931 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Jan 22 17:48:22 2016 -0800 |
committer | Selim Cinek <cinek@google.com> | Sat Jan 23 01:52:36 2016 +0000 |
tree | 3288882a57db982689ce52b91fdaad583e384445 | |
parent | eb12d1941726974a054085a9764e2620cacf7ab5 [diff] [blame] |
Fixed a clipping bug when expanding children notification When children are expanded with a finger we still need to clip! Change-Id: Ie66bb0ba690163bcabdc503a03f1e23869ec175d
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 52e6a9c..93be009 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -652,8 +652,8 @@ @Override public void setClipToActualHeight(boolean clipToActualHeight) { - super.setClipToActualHeight(clipToActualHeight); - getShowingLayout().setClipToActualHeight(clipToActualHeight); + super.setClipToActualHeight(clipToActualHeight || isUserLocked()); + getShowingLayout().setClipToActualHeight(clipToActualHeight || isUserLocked()); } /**