Bug 1234733 - Fix locale language tag in Honeycomb EOL url. r=liuche
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -751,17 +751,17 @@ public class BrowserApp extends GeckoApp
try {
final SharedPreferences prefs = GeckoSharedPrefs.forProfile(this);
if (!prefs.getBoolean(HONEYCOMB_EOL_NOTIFIED, false)) {
// Launch main App to load SUMO url on EOL notification.
final String link = getString(R.string.eol_notification_url,
AppConstants.MOZ_APP_VERSION,
AppConstants.OS_TARGET,
- Locale.getDefault());
+ Locales.getLanguageTag(Locale.getDefault()));
final Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setClassName(AppConstants.ANDROID_PACKAGE_NAME, AppConstants.MOZ_ANDROID_BROWSER_INTENT_CLASS);
intent.setData(Uri.parse(link));
final PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
final Notification notification = new NotificationCompat.Builder(this)
.setContentTitle(getString(R.string.eol_notification_title))