OSDN Git Service

Merge "Fix a copy/paste typo in ViewPropertyAnimator"
authorNick Kralevich <nnk@google.com>
Sat, 5 Jul 2014 16:47:22 +0000 (16:47 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Wed, 2 Jul 2014 20:52:43 +0000 (20:52 +0000)
core/java/android/view/ViewPropertyAnimator.java

index 67a94be..2a8523f 100644 (file)
@@ -314,8 +314,8 @@ public class ViewPropertyAnimator {
      */
     public ViewPropertyAnimator setStartDelay(long startDelay) {
         if (startDelay < 0) {
-            throw new IllegalArgumentException("Animators cannot have negative duration: " +
-                    startDelay);
+            throw new IllegalArgumentException("Animators cannot have negative start " +
+                "delay: " + startDelay);
         }
         mStartDelaySet = true;
         mStartDelay = startDelay;