summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2020-02-20 20:00:38 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-20 20:00:38 +0000
commit251888e9eba272f5abf17f808c4bc53726840252 (patch)
treefb7a94f77d9f8a5eb0de3a42ff0956f703ddba28 /graphics/java
parenta5f0eb7b48d02d68f1e0e480d14097e2a9d70c15 (diff)
parent076bbe1ceb85c8ca4a3ef3981131ab4ff1bdd717 (diff)
Merge "Add details regarding setConvexPath deprecation"
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/Outline.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Outline.java b/graphics/java/android/graphics/Outline.java
index c12159cfd7a4..5858e3988486 100644
--- a/graphics/java/android/graphics/Outline.java
+++ b/graphics/java/android/graphics/Outline.java
@@ -280,7 +280,10 @@ public final class Outline {
* {@link android.os.Build.VERSION_CODES#Q}, it is no longer required to be
* convex.
*
- * @deprecated The path is no longer required to be convex. Use {@link #setPath} instead.
+ * @deprecated As of {@link android.os.Build.VERSION_CODES#Q}, the restriction
+ * that the path must be convex is removed. However, the API is misnamed until
+ * {@link android.os.Build.VERSION_CODES#R}, when {@link #setPath} is
+ * introduced. Use {@link #setPath} instead.
*/
@Deprecated
public void setConvexPath(@NonNull Path convexPath) {