commit | cd55f43db60c2f641252d829bd3f532358625834 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Jun 10 16:42:53 2015 -0700 |
committer | Adrian Roos <roosa@google.com> | Wed Jun 10 17:18:15 2015 -0700 |
tree | 35dce74ec5d84c7a3640d6989455eceeaa747bc8 | |
parent | 2285308629a6826c63fbaf5174207accf1a57e91 [diff] |
Fix notification bounds on screen Bug: 21763049 Change-Id: Ifcc5bd7258c00ebd3a64ca4a4edd894e3baf0ccc
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java index 3feec9e..e12c226 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java
@@ -339,6 +339,12 @@ outRect.top += getTranslationY() + getClipTopAmount(); } + @Override + public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { + super.getBoundsOnScreen(outRect, clipToParent); + outRect.bottom = (int) (outRect.top + getActualHeight()); + } + public int getContentHeight() { return mActualHeight - getBottomDecorHeight(); }