Replace Outline#setConvexPath with Outline#setPath

Bug: 148544953
Test: No change in behavior, no new tests

setConvexPath no longer requires that the Path be Convex, so deprecate
the method and replace it with a name that does not imply it must be
Convex.

Update internal references to the Path being Convex as well.

Change-Id: I8935dc8ac7f7fb7db0d667e35fda67afdf2e6ac8
This commit is contained in:
Leon Scroggins III
2020-01-30 15:34:13 -05:00
parent b29730fc9b
commit a49beaaa69
11 changed files with 42 additions and 29 deletions

View File

@@ -387,7 +387,7 @@ public class AdaptiveIconDrawable extends Drawable implements Drawable.Callback
@Override
public void getOutline(@NonNull Outline outline) {
outline.setConvexPath(mMask);
outline.setPath(mMask);
}
/** @hide */