Bug 740094 - Folder icon doesn't appear anymore. r=lucasr
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Wed, 28 Mar 2012 14:14:30 -0700
changeset 90685 b88204f7e018e0886e801dd3a7eda03445af28cf
parent 90684 328ae1116d50892a2939142001d4d1b2db38d801
child 90686 d56f6d9819186754230c2769e0e139ffa1f91aa8
push id1069
push usermfinkle@mozilla.com
push dateWed, 04 Apr 2012 14:22:33 +0000
treeherdermozilla-aurora@883536e3b5da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs740094
milestone13.0a2
Bug 740094 - Folder icon doesn't appear anymore. r=lucasr
mobile/android/base/AwesomeBarTabs.java
--- a/mobile/android/base/AwesomeBarTabs.java
+++ b/mobile/android/base/AwesomeBarTabs.java
@@ -294,22 +294,21 @@ public class AwesomeBarTabs extends TabH
 
             Cursor cursor = getCursor();
             if (!cursor.moveToPosition(position))
                 throw new IllegalStateException("Couldn't move cursor to position " + position);
 
             if (viewType == VIEW_TYPE_ITEM) {
                 updateTitle(viewHolder.titleView, cursor);
                 updateUrl(viewHolder.urlView, cursor);
+                updateFavicon(viewHolder.faviconView, cursor);
             } else {
                 viewHolder.titleView.setText(getFolderTitle(position));
             }
 
-            updateFavicon(viewHolder.faviconView, cursor);
-
             return convertView;
         }
 
         public LinearLayout getHeaderView() {
             return mBookmarksTitleView;
         }
 
         public void setHeaderView(LinearLayout titleView) {