android: Stop using deprecated Canvas.clipPath
On versions where the API is deprecated. The desired behavior of essentially inverting the mask can be done with clipOutPath on O or above, and by Op.DIFFERENCE for below. Bug: 828195 Change-Id: I08f262018f1596fd79556667961ed80a97221768 Reviewed-on: https://chromium-review.googlesource.com/994257Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#547873}
Showing
Please register or sign in to comment