1
0
Fork 0
fenix/app/src/main/java/org/mozilla
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
..
fenix For #11664 — Fixup MissingResourceExceptions being thrown in exotic Locales (#13124) 2020-07-30 18:28:26 +01:00
gecko/search For #11531: Add search widget installed leanplum event 2020-07-29 13:35:16 -04:00