diff options
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java index 296538c..08a6603 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java @@ -353,8 +353,8 @@ public abstract class ExpandableView extends FrameLayout { @Override public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { super.getBoundsOnScreen(outRect, clipToParent); - outRect.bottom = (int) (outRect.top + getActualHeight()); - outRect.top += getClipTopAmount(); + outRect.bottom = outRect.top + getActualHeight(); + outRect.top += getClipTopOptimization(); } public int getContentHeight() { |