Bug 1227322 - Remove nightly flag from homepage pref. r=margaret

It seems like too much work to make a full branded non-nightly build so I
didn't strictly test this but I looked around the homepage code and saw no
other blockers on set homepage.

--HG--
extra : commitid : HkrrU1Bgu1S
extra : rebase_source : 2f2f97eb7abf9d978dd50051148e631dd1073da2
This commit is contained in:
Michael Comella 2015-11-23 15:24:15 -08:00
Родитель 80008d94bf
Коммит 992a80ad05
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -677,13 +677,6 @@ OnSharedPreferenceChangeListener
i--;
continue;
}
} else if (PREFS_CATEGORY_HOMEPAGE.equals(key)) {
// Only enable the home page setting on Nightly.
if (!AppConstants.NIGHTLY_BUILD) {
preferences.removePreference(pref);
i--;
continue;
}
} else if (PREFS_SCREEN_ADVANCED.equals(key) &&
!RestrictedProfiles.isAllowed(this, Restriction.DISALLOW_ADVANCED_SETTINGS)) {
preferences.removePreference(pref);