mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1110420: need to not do geo-specific defaults for distribution builds. r=markh
This commit is contained in:
parent
7ebdc17896
commit
5914eb88f1
@ -411,7 +411,12 @@ function getIsUS() {
|
|||||||
geoSpecificDefaults = Services.prefs.getBoolPref("browser.search.geoSpecificDefaults");
|
geoSpecificDefaults = Services.prefs.getBoolPref("browser.search.geoSpecificDefaults");
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
|
|
||||||
if (!geoSpecificDefaults) {
|
let distroID;
|
||||||
|
try {
|
||||||
|
distroID = Services.prefs.getCharPref("distribution.id");
|
||||||
|
} catch (e) {}
|
||||||
|
|
||||||
|
if (!geoSpecificDefaults || distroID) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user