From 103a77832f7f533b916a1d5a5fe3b64f415a61f7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 26 Jul 2014 20:25:44 +0200 Subject: [PATCH] (Android) Fix build --- frontend/platform/platform_android.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/platform/platform_android.c b/frontend/platform/platform_android.c index 197eb7973f..0015689655 100644 --- a/frontend/platform/platform_android.c +++ b/frontend/platform/platform_android.c @@ -587,7 +587,6 @@ static void frontend_android_get_environment_settings(int *argc, char *argv[], __system_property_get("ro.product.id", device_id); g_defaults.settings.video_threaded_enable = true; - g_defaults.settings.input_overlay_enable = true; // Enable input overlay by default // Set automatic default values per device if (device_is_xperia_play(device_model)) @@ -603,9 +602,12 @@ static void frontend_android_get_environment_settings(int *argc, char *argv[], else if (!strcmp(device_model, "JSS15J")) g_defaults.settings.video_refresh_rate = 59.65; + //FIXME - needs to be refactored +#if 0 // Explicitly disable input overlay by default for gamepad-like/console devices if (device_is_game_console(device_model)) g_defaults.settings.input_overlay_enable = false; +#endif } #if 0