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

Commit 0106c5dd authored by Mathew Inwood's avatar Mathew Inwood
Browse files

Move drawRoundRect back to max-sdk-o greylist.

The API was dark grey listed in P, and it was inadvertantly moved on the
max-sdk-p greylist in commit 01053cd7.

We should not make greylist APIs less restrictive between letter
releases as this makes the situation confusing for developers.

Test: m
Bug: 123987101
Change-Id: I2b8675c7e15479a6e8121976329fec88558f8cad
parent f9a25e52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ public abstract class DisplayListCanvas extends BaseRecordingCanvas {
    }

    /** @hide */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.O)
    public abstract void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top,
            CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx,
            CanvasProperty<Float> ry, CanvasProperty<Paint> paint);