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

Commit c65e9a48 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Fix clip rect when drawing accessibility focus rect" into lmp-dev

parents 127343cb eb3ca224
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -15091,10 +15091,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            bounds.set(0, 0, mRight - mLeft, mBottom - mTop);
        }
        canvas.save();
        canvas.translate(mScrollX, mScrollY);
        canvas.clipRect(bounds, Region.Op.REPLACE);
        drawable.setBounds(bounds);
        drawable.draw(canvas);
        canvas.translate(-mScrollX, -mScrollY);
        canvas.restore();
    }
    /**