Bug 721354 - Remove redundant runnable to load addons/tabs in about:home (r=blassey) a=akeybl
authorLucas Rocha <lucasr@mozilla.com>
Fri, 27 Jan 2012 10:08:21 +0000
changeset 84323 972cd21a12f48f5500d8b548889031df9a38bd66
parent 84322 0902945f20d14e502b15cfb388c5ec9a47af4f35
child 84324 4fa07287752ab20085e3bb2f0afc066b636d168c
push id793
push userblassey@mozilla.com
push dateMon, 30 Jan 2012 06:08:40 +0000
treeherdermozilla-aurora@0d888e276c9f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, akeybl
bugs721354
milestone11.0a2
Bug 721354 - Remove redundant runnable to load addons/tabs in about:home (r=blassey) a=akeybl
mobile/android/base/AboutHomeContent.java
--- a/mobile/android/base/AboutHomeContent.java
+++ b/mobile/android/base/AboutHomeContent.java
@@ -276,23 +276,18 @@ public class AboutHomeContent extends Sc
             }
         });
     }
 
     void init(final Activity activity) {
         GeckoAppShell.getHandler().post(new Runnable() {
             public void run() {
                 loadTopSites(activity);
-
-                GeckoAppShell.getHandler().post(new Runnable() {
-                    public void run() {
-                        readLastTabs(activity);
-                        readRecommendedAddons(activity);
-                    }
-                });
+                readLastTabs(activity);
+                readRecommendedAddons(activity);
             }
         });
     }
 
     public void setUriLoadCallback(UriLoadCallback uriLoadCallback) {
         mUriLoadCallback = uriLoadCallback;
     }