Change AnimatedImageViews to ImageViews.
Steve Howard [Thu, 1 Jul 2010 23:31:16 +0000 (16:31 -0700)]
The AnimatedImageView class was private and should not have been used.
When it was removed, the decision was made to change these to
unanimated images.  The first frame will show, which should be good
enough, and it'll safe a bit of CPU.

res/layout/status_bar_ongoing_event_progress_bar.xml

index 65c3156..c6a71d4 100644 (file)
@@ -38,7 +38,7 @@
             android:focusable="true"
             android:clickable="true"
             >
-            <com.android.server.status.AnimatedImageView 
+            <ImageView 
                 android:id="@+id/appIcon"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
@@ -99,7 +99,7 @@
         </RelativeLayout>
     </LinearLayout>
         
-    <com.android.server.status.AnimatedImageView 
+    <ImageView 
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:src="@android:drawable/divider_horizontal_bright"