diff options
author | 2024-11-25 23:43:24 +0000 | |
---|---|---|
committer | 2024-11-25 23:43:24 +0000 | |
commit | 790631a15d8d0696cb28f478b5fcafe43b80411c (patch) | |
tree | fda57c067eb66220ab4990f7b72dbe5adff06e45 | |
parent | de6bd0574e1ce67f2893416fd4edfc1827b8414a (diff) |
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
-rw-r--r-- | core/api/current.txt | 2 | ||||
-rw-r--r-- | graphics/java/android/graphics/Path.java | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 1f1067849d47..7915509c1381 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -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); diff --git a/graphics/java/android/graphics/Path.java b/graphics/java/android/graphics/Path.java index 073307c7a2e8..d010c525e099 100644 --- a/graphics/java/android/graphics/Path.java +++ b/graphics/java/android/graphics/Path.java @@ -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); |