summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-04-06 12:34:58 +0200
committerGitHub <noreply@github.com>2021-04-06 12:34:58 +0200
commite89ae71cec6390e2cc420af2548caf33afe02280 (patch)
tree9827a25eafb4aee8a5090351f1383c7f2de8a375 /Source/Android/jni/MainAndroid.cpp
parenta1ee6ace71ed9c0250e19e8ff11177da350f6a7c (diff)
parent27ddf6382ba312dbed77cf31f5a4a2bf9a013c88 (diff)
Merge pull request #9388 from JosJuice/default-locale
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.cpp9
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;