Bug 1395355 - Typo preventing locale distribution engines from loading. r?gandalf draft
authorMichael Kaply <mozilla@kaply.com>
Wed, 30 Aug 2017 17:15:55 -0500
changeset 656243 94035bdf157b5d93705929f6c3cddbabda16ce60
parent 650598 f1303aeb525e8c382453a768b14de991cb9986e1
child 729067 f7c713fc03f38966e7e562498c6f838da74e2fcf
push id77132
push usermozilla@kaply.com
push dateWed, 30 Aug 2017 22:16:09 +0000
reviewersgandalf
bugs1395355
milestone55.0.3
Bug 1395355 - Typo preventing locale distribution engines from loading. r?gandalf MozReview-Commit-ID: DerafUV5lNA
mobile/android/components/DirectoryProvider.js
--- a/mobile/android/components/DirectoryProvider.js
+++ b/mobile/android/components/DirectoryProvider.js
@@ -108,17 +108,17 @@ DirectoryProvider.prototype = {
       array.push(commonPlugins);
 
     let localePlugins = searchPlugins.clone();
     localePlugins.append("locale");
     if (!localePlugins.exists())
       return;
 
     let curLocale = "";
-    let reqLocales = Services.locales.getRequestedLocales();
+    let reqLocales = Services.locale.getRequestedLocales();
     if (reqLocales.length > 0) {
       curLocale = reqLocales[0];
     }
 
     if (curLocale) {
       let curLocalePlugins = localePlugins.clone();
       curLocalePlugins.append(curLocale);
       if (curLocalePlugins.exists()) {