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

Commit 6e473097 authored by Carlos Martinez Romero's avatar Carlos Martinez Romero Committed by Android (Google) Code Review
Browse files

Merge "Deprecated method with unused param." into main

parents 35fc6af0 8567ca3a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16299,7 +16299,8 @@ 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 public void computeBounds(@NonNull android.graphics.RectF, boolean);
    method @Deprecated public void computeBounds(@NonNull android.graphics.RectF, boolean);
    method 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);
    method @NonNull public android.graphics.Path.FillType getFillType();
+14 −0
Original line number Diff line number Diff line
@@ -293,9 +293,23 @@ 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);
    }

    /**
     * Compute the bounds of the control points of the path, and write the
     * answer into bounds. If the path contains 0 or 1 points, the bounds is
     * set to (0,0,0,0)
     *
     * @param bounds Returns the computed bounds of the path's control points.
     */
    public void computeBounds(@NonNull RectF bounds) {
        nComputeBounds(mNativePath, bounds);
    }