Add details regarding setConvexPath deprecation

Bug: 149857968
Test: make docs
Change-Id: I995e035fc7d73d196a50b4e515db38110baa0fe5
This commit is contained in:
Leon Scroggins III
2020-02-20 11:14:47 -05:00
parent 1ed2833be3
commit 076bbe1ceb

View File

@@ -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) {