In my application, this snippet:
Local.getDefault().getCountry()
At the very soon when application launches, it returns the correct value like FR/CA/GB/US. But after a few moment it returns an empty string. (in detail: we have a language param for our https request, we need to different fr_FR, fr_CA, en_US, en_CA...)
How to achieve the value of language correctly? (fr_FR, en_CA,...)
Some same domain but not identical topic:
Locale.getDefault().getCountry() returning empty string -> this question is not yet answered
java.util.Locale has an empty first item
Tested and found this unusual problem in reals devices: Android 6.0, 8.0, 9.0