author | Mike Connor <mconnor@mozilla.com> |
Tue, 10 Feb 2015 20:59:46 -0500 | |
changeset 228569 | 5321b4fff1ae033885acc95bfde94bec94bacc2b |
parent 228568 | b2d5c23581df1c09f8bd5f4d33adeae95e11bcf2 |
child 228570 | 7d5ff7ffa118a5065ca0431a75c9980c64ca6876 |
push id | 28264 |
push user | cbook@mozilla.com |
push date | Wed, 11 Feb 2015 13:58:35 +0000 |
treeherder | mozilla-central@38058cb42a0e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | rnewman |
bugs | 1131825 |
milestone | 38.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -7626,17 +7626,17 @@ var Distribution = { return; } // Force the distribution preferences on the default branch let defaults = Services.prefs.getDefaultBranch(null); defaults.setCharPref("distribution.id", global["id"]); defaults.setCharPref("distribution.version", global["version"]); - let locale = Services.prefs.getCharPref("general.useragent.locale"); + let locale = BrowserApp.getUALocalePref(); let aboutString = Cc["@mozilla.org/supports-string;1"].createInstance(Ci.nsISupportsString); aboutString.data = global["about." + locale] || global["about"]; defaults.setComplexValue("distribution.about", Ci.nsISupportsString, aboutString); let prefs = aData["Preferences"]; for (let key in prefs) { try { let value = prefs[key];