[Scummvm-git-logs] scummvm master -> aae9673c9dbc9adb2fa558bc4c49d38c344cc05e

sev- noreply at scummvm.org
Mon Feb 13 15:24:35 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:
aae9673c9d ANDROID: Do language selection before early popup


Commit: aae9673c9dbc9adb2fa558bc4c49d38c344cc05e
    https://github.com/scummvm/scummvm/commit/aae9673c9dbc9adb2fa558bc4c49d38c344cc05e
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-02-13T16:24:29+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 2e8646cc43f..048cb6d4d6b 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