summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-06-11 00:49:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-11 00:49:52 +0000
commit7ce0d25b0d864c45766ab93775211bc7f782c992 (patch)
treeb36b89c55b84add38f507a39eabbf91927d238cd /packages
parent95120bbb6fb8d36d52e32d6d8d5435fc92318ca7 (diff)
parentcd55f43db60c2f641252d829bd3f532358625834 (diff)
downloadframeworks_base-7ce0d25b0d864c45766ab93775211bc7f782c992.zip
frameworks_base-7ce0d25b0d864c45766ab93775211bc7f782c992.tar.gz
frameworks_base-7ce0d25b0d864c45766ab93775211bc7f782c992.tar.bz2
Merge "Fix notification bounds on screen" into mnc-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java
index 8c03350..03d0482 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java
@@ -340,6 +340,12 @@ public abstract class ExpandableView extends FrameLayout {
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();
}