mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1068388 - Part 3: hide stumbler settings items if stumbler isn't built. r=garvank
This commit is contained in:
parent
f565fe02c4
commit
ca5398df99
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user