Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3aaff80f authored by Doris Liu's avatar Doris Liu
Browse files

Revert "Fix NPE for invalid target exception"

This reverts commit d4fda02d.

Change-Id: I73341dc41c7effaa3209107b4e85503b17e2c826
parent d4fda02d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");
            }
        }