summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2015-06-24 23:32:16 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-24 23:32:18 +0000
commit93666e8691c9b41855add5c1c92bfc9e0912764e (patch)
tree0e03b03291812a7bcb0386e255722f9f907f3e00 /graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
parent6acb521f7c5d13b4f9891822db6121dcedce268a (diff)
parent95080637db69ffa4f31f18f32878ddd2457e6857 (diff)
downloadframeworks_base-93666e8691c9b41855add5c1c92bfc9e0912764e.zip
frameworks_base-93666e8691c9b41855add5c1c92bfc9e0912764e.tar.gz
frameworks_base-93666e8691c9b41855add5c1c92bfc9e0912764e.tar.bz2
Merge "Resize the VectorDrawable according to the virtual Dpi" into mnc-dev
Diffstat (limited to 'graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java')
-rw-r--r--graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java b/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
index 1ae10d3..1857345 100644
--- a/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
+++ b/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
@@ -170,7 +170,7 @@ public class AnimatedVectorDrawable extends Drawable implements Animatable2 {
public Drawable mutate() {
if (!mMutated && super.mutate() == this) {
mAnimatedVectorState = new AnimatedVectorDrawableState(
- mAnimatedVectorState, mCallback, null);
+ mAnimatedVectorState, mCallback, mRes);
mMutated = true;
}
return this;