mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Ensured that SystemStats::getUserLanguage and SystemStats::getUserCountry returns an ISO code on Android
This commit is contained in:
parent
1116a6a1f1
commit
4c7a92ecfa
1 changed files with 2 additions and 2 deletions
|
|
@ -1081,8 +1081,8 @@ public class JuceAppActivity extends Activity
|
|||
{
|
||||
java.util.Locale locale = java.util.Locale.getDefault();
|
||||
|
||||
return isRegion ? locale.getDisplayCountry (java.util.Locale.US)
|
||||
: locale.getDisplayLanguage (java.util.Locale.US);
|
||||
return isRegion ? locale.getCountry()
|
||||
: locale.getLanguage();
|
||||
}
|
||||
|
||||
private static final String getFileLocation (String type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue