ANDROID: Do language selection before early popup

Instantiating GUI manager takes care of the language selection
This commit is contained in:
antoniou79 2023-02-13 15:50:38 +02:00 committed by Eugene Sandulenko
parent 1f1ef9f808
commit aae9673c9d

View file

@ -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")) {