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

Commit afebcc63 authored by Haoyu Zhang's avatar Haoyu Zhang
Browse files

Fix: LineBackgroundSpan calls Canvas.drawRect with wrong parameter

Bug: 1526775
Test: atest LineBackgroundSpan_StandardTest
Change-Id: Ic2a23cbaa5e6951359bba3c9a5c1165008583574
parent a44e66a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public interface LineBackgroundSpan extends ParagraphStyle
                int lineNumber) {
            final int originColor = paint.getColor();
            paint.setColor(mColor);
            canvas.drawRect(left, right, top, bottom, paint);
            canvas.drawRect(left, top, right, bottom, paint);
            paint.setColor(originColor);
        }
    }