Bug 1251362 - Part 14 - Remove Recent Tabs from default panel config draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Sun, 15 May 2016 02:22:03 +0200
changeset 369308 7d302341a3860d6c6520f0d07998554fbf4f94a9
parent 369307 e96b080896057fdb11523292d1d8464d6772af14
child 369309 19c4b4e64bfa07e9a218da09004e8c44613e26a1
push id18831
push usermozilla@buttercookie.de
push dateSat, 21 May 2016 18:52:21 +0000
bugs1251362
milestone49.0a1
Bug 1251362 - Part 14 - Remove Recent Tabs from default panel config MozReview-Commit-ID: IX6AkBoa3Mg
mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
--- a/mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
+++ b/mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
@@ -70,18 +70,16 @@ public class HomeConfigPrefsBackend impl
 
         panelConfigs.add(createBuiltinPanelConfig(mContext, PanelType.TOP_SITES,
                                                   EnumSet.of(PanelConfig.Flags.DEFAULT_PANEL)));
 
         panelConfigs.add(createBuiltinPanelConfig(mContext, PanelType.BOOKMARKS));
         panelConfigs.add(createBuiltinPanelConfig(mContext, PanelType.COMBINED_HISTORY));
 
 
-        panelConfigs.add(createBuiltinPanelConfig(mContext, PanelType.RECENT_TABS));
-
         return new State(panelConfigs, true);
     }
 
     /**
      * Iterate through the panels to check if they are all disabled.
      */
     private static boolean allPanelsAreDisabled(JSONArray jsonPanels) throws JSONException {
         final int count = jsonPanels.length();