Poll for Android devices only when a runnable Android export preset is configured

This commit is contained in:
Fredia Huya-Kouadio 2026-02-20 10:52:39 -08:00
parent 0df713417b
commit 51eb1a3013
2 changed files with 19 additions and 5 deletions

View file

@ -108,6 +108,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
SafeFlag has_runnable_preset;
static void _check_for_changes_poll_thread(void *ud);
void _start_check_for_changes_poll_thread();
void _stop_check_for_changes_poll_thread();
void _update_preset_status();
#else // ANDROID_ENABLED
AndroidEditorGradleRunner *android_editor_gradle_runner = nullptr;