[Scummvm-git-logs] scummvm branch-2-7 -> 0bacd5880dc1d70bf866d1707c8d18caa56fdccd
sev-
noreply at scummvm.org
Mon Feb 13 15:25:25 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0bacd5880d ANDROID: Do language selection before early popup
Commit: 0bacd5880dc1d70bf866d1707c8d18caa56fdccd
https://github.com/scummvm/scummvm/commit/0bacd5880dc1d70bf866d1707c8d18caa56fdccd
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-02-13T16:25:14+01:00
Commit Message:
ANDROID: Do language selection before early popup
Instantiating GUI manager takes care of the language selection
Changed paths:
base/main.cpp
diff --git a/base/main.cpp b/base/main.cpp
index 0dd281122cf..97169a9313b 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -671,6 +671,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
#endif
#ifdef __ANDROID__
+ // This early popup message for Android, informing the users about important
+ // changes to file access, needs to be *after* language for the GUI has been selected.
+ // Hence, we instantiate GUI Manager here, to take care of this.
+ GUI::GuiManager::instance();
if (AndroidFilesystemFactory::instance().hasSAF()
&& !ConfMan.hasKey("android_saf_dialog_shown")) {
More information about the Scummvm-git-logs
mailing list