diff options
| author | JosJuice <josjuice@gmail.com> | 2020-12-27 23:11:22 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-03-27 10:05:26 +0100 |
| commit | 27ddf6382ba312dbed77cf31f5a4a2bf9a013c88 (patch) | |
| tree | aa7925b0af5a2577aec12f90eff87b9d40cd83ac /Source/Android/jni/MainAndroid.cpp | |
| parent | a1000afacceef41697588c124f5dd2e7d18ff73b (diff) | |
Set console's default language/country/region based on computer settings
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 6542109949..1b698d2a17 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -93,12 +93,21 @@ void UpdatePointer() env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), IDCache::GetUpdateTouchPointer()); } +std::vector<std::string> Host_GetPreferredLocales() +{ + // We would like to call ConfigurationCompat.getLocales here, but this function gets called + // during dynamic initialization, and it seems like that makes us unable to obtain a JNIEnv. + return {}; +} + void Host_NotifyMapLoaded() { } + void Host_RefreshDSPDebuggerWindow() { } + bool Host_UIBlocksControllerState() { return false; |
