diff options
-rw-r--r-- | graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java b/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java index 21ed7dd0099e..0a3e27e94c06 100644 --- a/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java +++ b/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java @@ -852,8 +852,8 @@ public class AnimatedVectorDrawable extends Drawable implements Animatable2 { (VectorDrawable.VectorDrawableState) target, startTime); } else { // Should never get here - throw new UnsupportedOperationException("Target should be group, path or vector. " + - target == null ? "Null target" : target.getClass() + " is not supported"); + throw new UnsupportedOperationException("Target should be either VGroup, VPath, " + + "or ConstantState, " + target.getClass() + " is not supported"); } } |