summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-04-06 10:47:23 -0700
committerChris Craik <ccraik@google.com>2015-04-06 10:50:36 -0700
commite9c01a40a2f0f0da195dfbb2909aaee5c005d1c6 (patch)
tree98bb68bd73ad336faa1c07ba79fba02cfbf63bdd /graphics
parent095d99904579a5231d974a2447661c10a8eb621b (diff)
downloadframeworks_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.java2
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) {