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

Commit 790631a1 authored by John Reck's avatar John Reck
Browse files

Remove @Deprecated from Path.computeBounds(RectF, boolean)

This is too aggressive a signal, and the replacement method lacks
sufficient availability for this to be actionable yet

Bug: 216813597
Change-Id: I6eac9a18de9e7c71896cde1777d91edff8405333
Test: n/a
Flag: com.android.graphics.flags.exact_compute_bounds
parent de6bd057
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16734,7 +16734,7 @@ package android.graphics {
    method public void arcTo(@NonNull android.graphics.RectF, float, float);
    method public void arcTo(float, float, float, float, float, float, boolean);
    method public void close();
    method @Deprecated public void computeBounds(@NonNull android.graphics.RectF, boolean);
    method public void computeBounds(@NonNull android.graphics.RectF, boolean);
    method @FlaggedApi("com.android.graphics.flags.exact_compute_bounds") public void computeBounds(@NonNull android.graphics.RectF);
    method public void conicTo(float, float, float, float, float);
    method public void cubicTo(float, float, float, float, float, float);
+0 −3
Original line number Diff line number Diff line
@@ -301,10 +301,7 @@ public class Path {
     *
     * @param bounds Returns the computed bounds of the path's control points.
     * @param exact This parameter is no longer used.
     *
     * @deprecated use computeBounds(RectF) instead
     */
    @Deprecated
    @SuppressWarnings({"UnusedDeclaration"})
    public void computeBounds(@NonNull RectF bounds, boolean exact) {
        computeBounds(bounds);