1
0
Fork 0
fenix/app
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
..
sampledata For #7092: Add initial Migration UI 2020-01-15 21:41:01 -08:00
src For #11664 — Fixup MissingResourceExceptions being thrown in exotic Locales (#13124) 2020-07-30 18:28:26 +01:00
.gitignore Initializes Android project 2018-12-07 15:25:38 -05:00
build.gradle For #12983: Fix deep link scheme for nightly builds 2020-07-28 08:31:12 -04:00
lint.xml Change enabled lint rules (#12517) 2020-07-17 15:17:16 -07:00
metrics.yaml For #11579 - Adds telemetry for autoplay settings in Site Permissions 2020-07-29 15:10:25 -07:00
pings.yaml For #11392: Rename Installation ping to FirstSession (#11869) 2020-06-25 10:06:26 -07:00
proguard-android-optimize-3.5.0-modified.txt Proguard/r8: Do not allow access modification. 2020-05-29 10:25:27 -07:00
proguard-rules.pro For #8949 - Removes old motionlayout code, fixes how shadow is drawn 2020-03-11 17:10:40 -07:00