Don't crash language selection just because we are in debug
Change-Id: I429dfee9ad08bd2578a9e24d0662ad60cdd7c917
This commit is contained in:
parent
44355109d7
commit
65c365a157
|
@ -174,7 +174,8 @@ object VectorLocale {
|
||||||
.build()
|
.build()
|
||||||
} catch (exception: IllformedLocaleException) {
|
} catch (exception: IllformedLocaleException) {
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
throw exception
|
//throw exception
|
||||||
|
exception.printStackTrace()
|
||||||
}
|
}
|
||||||
// Ignore this locale in production
|
// Ignore this locale in production
|
||||||
null
|
null
|
||||||
|
|
Loading…
Reference in New Issue