Add ViewPropertyAnimator for easy View animations A demo in ApiDemos conflicted with the new animate() API in View. The method was internal, so it was renamed to avoid the conflict. Change-Id: Id6dffc84fa0800677a0b67bee9c78f26da775d26
diff --git a/samples/ApiDemos/src/com/example/android/apis/view/GameView.java b/samples/ApiDemos/src/com/example/android/apis/view/GameView.java index 2bdec34..1791029 100644 --- a/samples/ApiDemos/src/com/example/android/apis/view/GameView.java +++ b/samples/ApiDemos/src/com/example/android/apis/view/GameView.java
@@ -71,7 +71,7 @@ private final Runnable mAnimationRunnable = new Runnable() { public void run() { - animate(); + animateFrame(); } }; @@ -322,7 +322,7 @@ mObstacles.clear(); } - void animate() { + void animateFrame() { long currentStepTime = SystemClock.uptimeMillis(); step(currentStepTime);