1
0
Fork 0
fenix/app/src/main
jhugman 79c3f3c925
For #11664 — Fixup MissingResourceExceptions being thrown in exotic Locales (#13124)
Our kotlin code is not catching the `MissingResourceException` in the `LeanplumMetricsService` which results in the app crashing when the locale isn't known by the device.

Catches the exception, and falls back to the ISO 639 language code. This isn't a great solution, because ISO 639 isn't especially stable.

In practice however this is almost certainly never going to be a problem because Leanplum isn't going to be supported in such exotic locales.

In this case, using the ISO 639 language code allows the error message to be more informative.
2020-07-30 18:28:26 +01:00
..
assets Update built-in extensions for new AC/GV API 2020-07-07 18:41:12 -04:00
java/org/mozilla For #11664 — Fixup MissingResourceExceptions being thrown in exotic Locales (#13124) 2020-07-30 18:28:26 +01:00
res Import l10n. 2020-07-29 21:52:03 -04:00
AndroidManifest.xml for #11698 added on demand workmanager initialization (#12739) 2020-07-28 16:26:18 -07:00
ic_launcher-web.png Optimize PNGs. 2020-02-14 09:41:54 -08:00
ic_launcher_private-web.png Optimize PNGs. 2020-02-14 09:41:54 -08:00