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

Commit 21726044 authored by Xavier Ducrohet's avatar Xavier Ducrohet
Browse files

Cherrypick 5b61ea6b from hc-mr1

Fix drawCircle in layoutlib.

Change-Id: I035c48b925cad246ed821e9e59a93d37174982ef
parent f174cd86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -735,7 +735,7 @@ public final class Canvas_Delegate {
    /*package*/ static void native_drawCircle(int nativeCanvas,
            float cx, float cy, float radius, int paint) {
        native_drawOval(nativeCanvas,
                new RectF(cx - radius, cy - radius, radius*2, radius*2),
                new RectF(cx - radius, cy - radius, radius, radius),
                paint);
    }