guardianproject / Orweb

We are EOL this project. Please use Lightning Browser or wait for Orfox instead
https://guardianproject.info/2015/06/30/orfox-aspiring-to-bring-tor-browser-to-android/
Other
91 stars 45 forks source link

Fix for dynamic locale selection bug. #40

Closed moxie0 closed 8 years ago

moxie0 commented 11 years ago

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.