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 90542 b2c747fcacead8f9b60111d0ae02c034152ceb1a
parent 90541 c860230720764d7d4f99f28770706251acda28c4
child 90543 ba46fc01fb32dd772a7082f4bd9d0fc63d0a8700
push id7714
push usermleibovic@mozilla.com
push dateWed, 28 Mar 2012 21:14:41 +0000
treeherdermozilla-inbound@b2c747fcacea [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs740094
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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) {