(Android) The touch overlay setting is now always enabled after running the configurator

This commit is contained in:
Leon Styhre 2024-01-14 13:14:07 +01:00
parent a68154bfa5
commit 720ca50cd0

View file

@ -601,6 +601,12 @@ int main(int argc, char* argv[])
if (Utils::Platform::Android::checkConfigurationNeeded())
exit(0);
// Always enable the touch overlay after running the configurator.
if (!Settings::getInstance()->getBool("InputTouchOverlay")) {
Settings::getInstance()->setBool("InputTouchOverlay", true);
Settings::getInstance()->saveFile();
}
}
Utils::Platform::Android::setDataDirectories();