Get the ticker working again.

Change-Id: Idb7e456bc302578c3866448334eb0ebf0ba235d4
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
index ca5db88..5eb0d68 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
@@ -69,6 +69,7 @@
                 Drawable drawable = getIcon(icon);
                 if (drawable == null) {
                     mError = true;
+                    Slog.w(PhoneStatusBarService.TAG, "No icon ID for slot " + mSlot);
                     break error;
                 }
                 setImageDrawable(drawable);
@@ -86,6 +87,10 @@
         }
     }
 
+    private Drawable getIcon(StatusBarIcon icon) {
+        return getIcon(getContext(), icon);
+    }
+
     /**
      * Returns the right icon to use for this item, respecting the iconId and
      * iconPackage (if set)
@@ -94,8 +99,7 @@
      * @return Drawable for this item, or null if the package or item could not
      *         be found
      */
-    private Drawable getIcon(StatusBarIcon icon) {
-        Context context = getContext();
+    public static Drawable getIcon(Context context, StatusBarIcon icon) {
         Resources r = null;
 
         if (icon.iconPackage != null) {
@@ -110,7 +114,6 @@
         }
 
         if (icon.iconId == 0) {
-            Slog.w(PhoneStatusBarService.TAG, "No icon ID for slot " + mSlot);
             return null;
         }