Bug 1227322 - Remove nightly flag from homepage pref. r=margaret, a=ritu
authorMichael Comella <michael.l.comella@gmail.com>
Mon, 23 Nov 2015 16:21:54 -0800
changeset 305663 b204be8f7416ba66a20a0769799383a86e2d1eb3
parent 305662 cf1ecaa105a3d9b86ce6c95d75206315226f665f
child 305664 17f3d2ac13a4125e89cf2c73ccab2f3c78986b00
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, ritu
bugs1227322
milestone44.0a2
Bug 1227322 - Remove nightly flag from homepage pref. r=margaret, a=ritu
mobile/android/base/preferences/GeckoPreferences.java
--- a/mobile/android/base/preferences/GeckoPreferences.java
+++ b/mobile/android/base/preferences/GeckoPreferences.java
@@ -734,24 +734,16 @@ OnSharedPreferenceChangeListener
                 }
                 if (PREFS_CATEGORY_PRIVATE_DATA.equals(key)) {
                     if (!RestrictedProfiles.isAllowed(this, Restriction.DISALLOW_CLEAR_HISTORY)) {
                         preferences.removePreference(pref);
                         i--;
                         continue;
                     }
                 }
-                if (PREFS_CATEGORY_HOMEPAGE.equals(key)) {
-                    // Only enable the home page setting on Nightly.
-                    if (!AppConstants.NIGHTLY_BUILD) {
-                        preferences.removePreference(pref);
-                        i--;
-                        continue;
-                    }
-                }
                 setupPreferences((PreferenceGroup) pref, prefs);
             } else {
                 pref.setOnPreferenceChangeListener(this);
                 if (PREFS_UPDATER_AUTODOWNLOAD.equals(key)) {
                     if (!AppConstants.MOZ_UPDATER) {
                         preferences.removePreference(pref);
                         i--;
                         continue;