|
@@ -259,6 +259,7 @@ void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#ifndef ANDROID_ENABLED
|
|
|
// Check for devices updates
|
|
|
String adb = get_adb_path();
|
|
|
if (FileAccess::exists(adb)) {
|
|
@@ -372,6 +373,7 @@ void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {
|
|
|
|
|
|
ea->device_lock.unlock();
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
uint64_t sleep = 300'000;
|
|
|
uint64_t wait = 3'000'000;
|
|
@@ -384,6 +386,7 @@ void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#ifndef ANDROID_ENABLED
|
|
|
if (EditorSettings::get_singleton()->get("export/android/shutdown_adb_on_exit")) {
|
|
|
String adb = get_adb_path();
|
|
|
if (!FileAccess::exists(adb)) {
|
|
@@ -394,6 +397,7 @@ void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {
|
|
|
args.push_back("kill-server");
|
|
|
OS::get_singleton()->execute(adb, args, true);
|
|
|
}
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
String EditorExportPlatformAndroid::get_project_name(const String &p_name) const {
|