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

Commit 21283531 authored by Sally Yuen's avatar Sally Yuen Committed by Android (Google) Code Review
Browse files

Merge "Only request a layout for non-empty accessibility focus rects" into main

parents a46f260e 3134865b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5187,8 +5187,11 @@ public final class ViewRootImpl implements ViewParent,
        // Force recalculation of transparent regions
        if (accessibilityFocusDirty) {
            final Rect bounds = mAttachInfo.mTmpInvalRect;
            if (getAccessibilityFocusedRect(bounds)) {
                requestLayout();
            }
        }
        mAttachInfo.mDrawingTime =
                mChoreographer.getFrameTimeNanos() / TimeUtils.NANOS_PER_MS;