зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1068388 - Part 3: hide stumbler settings items if stumbler isn't built. r=garvank
This commit is contained in:
Родитель
2fbad243a7
Коммит
a0c73ccf79
|
@ -684,10 +684,9 @@ OnSharedPreferenceChangeListener
|
|||
preferences.removePreference(pref);
|
||||
i--;
|
||||
continue;
|
||||
} else if (AppConstants.RELEASE_BUILD &&
|
||||
(PREFS_GEO_REPORTING.equals(key) ||
|
||||
PREFS_GEO_LEARN_MORE.equals(key))) {
|
||||
// We don't build wifi/cell tower collection in release builds, so hide the UI.
|
||||
} else if (!AppConstants.MOZ_STUMBLER_BUILD_TIME_ENABLED &&
|
||||
(PREFS_GEO_REPORTING.equals(key) ||
|
||||
PREFS_GEO_LEARN_MORE.equals(key))) {
|
||||
preferences.removePreference(pref);
|
||||
i--;
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче