am d70eaff4: am 941ff38d: Merge "fix bug 5942522" into ics-mr1

* commit 'd70eaff41ce4e033656eeebb5eb7153b49d2ac5a':
  fix bug 5942522
This commit is contained in:
Robert Ly
2012-03-01 14:13:15 -08:00
committed by Android Git Automerger

View File

@@ -102,7 +102,12 @@ public class AnimationDrawable extends DrawableContainer implements Runnable, An
/**
* <p>Starts the animation, looping if necessary. This method has no effect
* if the animation is running.</p>
* if the animation is running. Do not call this in the {@link android.app.Activity#onCreate}
* method of your activity, because the {@link android.graphics.drawable.AnimationDrawable} is
* not yet fully attached to the window. If you want to play
* the animation immediately, without requiring interaction, then you might want to call it
* from the {@link android.app.Activity#onWindowFocusChanged} method in your activity,
* which will get called when Android brings your window into focus.</p>
*
* @see #isRunning()
* @see #stop()