From 33ec695ac0a1614c6812c3f9584f7db290296b7f Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 23 Feb 2020 11:18:42 -0500 Subject: Issue #1053 - Remove android support from intl/locale/nsLocaleService.cpp This is the only non-icu file with android code in it. Not going to remove android in icu its self because it remains a 3rd party lib. --- intl/locale/nsLocaleService.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'intl/locale/nsLocaleService.cpp') diff --git a/intl/locale/nsLocaleService.cpp b/intl/locale/nsLocaleService.cpp index 6d45ec9af..d81fb50c2 100644 --- a/intl/locale/nsLocaleService.cpp +++ b/intl/locale/nsLocaleService.cpp @@ -134,11 +134,6 @@ nsLocaleService::nsLocaleService(void) bool lc_temp_valid = lc_temp != nullptr; -#if defined(MOZ_WIDGET_ANDROID) - // Treat the "C" env as nothing useful. See Bug 1095298. - lc_temp_valid = lc_temp_valid && strcmp(lc_temp, "C") != 0; -#endif - if (lc_temp_valid) { result = nsPosixLocale::GetXPLocale(lc_temp, xpLocale); CopyASCIItoUTF16(lc_temp, platformLocale); -- cgit v1.2.3