Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b44f5486 authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix accessibility bounds

Follow up to Ifcc5bd7258c00ebd3a64ca4a4edd894e3baf0ccc
Bug: 21763049

Change-Id: I3026b22848ef1552e2faa82d9e0f4409d2cba63a
parent 5c192da1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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() {