Bug 721354 - Remove redundant runnable to load addons/tabs in about:home (r=blassey)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 27 Jan 2012 10:08:21 +0000
changeset 85549 d9b4aa76311e64866ac7ce60cdb0a93dbe15d0d2
parent 85548 101feb514dd07b82cd4c1a20011d43a209247e28
child 85550 37af3f39a6b56348a430c5a9b3deadd792f90f74
push id21930
push usermbrubeck@mozilla.com
push dateFri, 27 Jan 2012 16:32:09 +0000
treeherdermozilla-central@7ab255f53568 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs721354
milestone12.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 721354 - Remove redundant runnable to load addons/tabs in about:home (r=blassey)
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;
     }