summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-06-11 12:19:16 -0700
committerAdrian Roos <roosa@google.com>2015-06-11 21:48:32 +0000
commitb44f5486ef7c2e169d5a65eb159a1d842d9c3d51 (patch)
treeead4ae9caa9f1301ad9b345025d401b9c48161f1 /packages
parent5c192da182545888a8f16e6050f26d36d432d0f8 (diff)
downloadframeworks_base-b44f5486ef7c2e169d5a65eb159a1d842d9c3d51.zip
frameworks_base-b44f5486ef7c2e169d5a65eb159a1d842d9c3d51.tar.gz
frameworks_base-b44f5486ef7c2e169d5a65eb159a1d842d9c3d51.tar.bz2
Fix accessibility bounds
Follow up to Ifcc5bd7258c00ebd3a64ca4a4edd894e3baf0ccc Bug: 21763049 Change-Id: I3026b22848ef1552e2faa82d9e0f4409d2cba63a
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java4
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() {