From 720ca50cd018d8003eb760543393df7669b04e49 Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Sun, 14 Jan 2024 13:14:07 +0100 Subject: [PATCH] (Android) The touch overlay setting is now always enabled after running the configurator --- es-app/src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index eb13be996..afd77b086 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -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();