title: AnimationDrawable doesn't autostart on Lollipop
body: <p>I have an Android App where looped AnimationDrawbale where autostarted. With latest Lollipop it doesn't autostart no more.</p>
  
  <p>There is a simple ImageView where the src address the next drawable xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;level-list
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:maxLevel="0" android:drawable="@drawable/ic_weather_sun" /&gt;
      &lt;item android:maxLevel="1" android:drawable="@drawable/ic_weather_cloudsun" /&gt;
      &lt;item android:maxLevel="2" android:drawable="@drawable/ic_weather_cloud" /&gt;
      &lt;item android:maxLevel="3" android:drawable="@drawable/ic_weather_rain" /&gt;
      &lt;item android:maxLevel="4" android:drawable="@drawable/ic_weather_rainstorm" /&gt;
  &lt;/level-list&gt;
  </code></pre>
  
  <p>each item of the level list is another drawable xml.
  Some of them are animation-list (Animationdrawable), others are layer-list with one or more layer composed by an animation-list. Here an example:</p>
  
  <pre><code>&lt;layer-list
     xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item&gt;
          &lt;animation-list android:oneshot="false"&gt;
              &lt;item android:drawable="@drawable/ic_weather_layer_rain1" android:duration="100" /&gt;
              &lt;item android:drawable="@drawable/ic_weather_layer_rain2" android:duration="100" /&gt;
              &lt;item android:drawable="@drawable/ic_weather_layer_rain3" android:duration="100" /&gt;
              &lt;item android:drawable="@drawable/ic_weather_layer_rain4" android:duration="100" /&gt;
          &lt;/animation-list&gt;
      &lt;/item&gt;
      &lt;item android:drawable="@drawable/ic_weather_layer_cloudcolor1" /&gt;
      &lt;item android:drawable="@drawable/ic_weather_layer_cloud2" /&gt;
      &lt;item android:drawable="@drawable/ic_weather_layer_cloud1" /&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>The ImageView level is set invisible at activity start and it is simply selected in this way.</p>
  
  <pre><code>    final ImageView meteo = (ImageView)findViewById(R.id.image_meteo);
      meteo.setVisibility(View.VISIBLE);
      meteo.setImageLevel( weatherIdx );
  </code></pre>
  
  <p>Any idea on th reason? And how I should manage that?
  I cannot address all AnimationDrawables, because there are several of them in a not known structure.</p>
  
  <p>Thanks</p>