Locale.getLanguage() always returns a lowercase string, which
would falsely fail comparison with locales you have defined
with uppercase components like pt_BR and nb_NO, causing the
Browser activity to restart itself on every onResume() event
when running in those locales. I believe that would be an
infinite loop.
Locale.getLanguage() always returns a lowercase string, which would falsely fail comparison with locales you have defined with uppercase components like pt_BR and nb_NO, causing the Browser activity to restart itself on every onResume() event when running in those locales. I believe that would be an infinite loop.