diff options
author | Chris Craik <ccraik@google.com> | 2015-04-06 10:47:23 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-04-06 10:50:36 -0700 |
commit | e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6 (patch) | |
tree | 98bb68bd73ad336faa1c07ba79fba02cfbf63bdd /graphics | |
parent | 095d99904579a5231d974a2447661c10a8eb621b (diff) | |
download | frameworks_base-e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6.zip frameworks_base-e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6.tar.gz frameworks_base-e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6.tar.bz2 |
Fix path clipping in VectorDrawable
bug:19946683
Change-Id: I773957df7459eb72ea5d505afb0daac08239ecbf
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/VectorDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/drawable/VectorDrawable.java b/graphics/java/android/graphics/drawable/VectorDrawable.java index b827682..ff258dd 100644 --- a/graphics/java/android/graphics/drawable/VectorDrawable.java +++ b/graphics/java/android/graphics/drawable/VectorDrawable.java @@ -966,7 +966,7 @@ public class VectorDrawable extends Drawable { if (vPath.isClipPath()) { mRenderPath.addPath(path, mFinalPathMatrix); - canvas.clipPath(mRenderPath, Region.Op.REPLACE); + canvas.clipPath(mRenderPath); } else { VFullPath fullPath = (VFullPath) vPath; if (fullPath.mTrimPathStart != 0.0f || fullPath.mTrimPathEnd != 1.0f) { |