| 218 | static const String INSTALL_ANDROID_BUILD_TEMPLATE_MESSAGE = TTRC("This will set up your project for gradle Android builds by installing the source template to \"%s\".\nNote that in order to make gradle builds instead of using pre-built APKs, the \"Use Gradle Build\" option should be enabled in the Android export preset."); |
| 219 | |
| 220 | bool EditorProgress::step(const String &p_state, int p_step, bool p_force_refresh) { |
| 221 | if (!force_background && Thread::is_main_thread()) { |
| 222 | return EditorNode::progress_task_step(task, p_state, p_step, p_force_refresh); |
| 223 | } else { |
| 224 | EditorNode::progress_task_step_bg(task, p_step); |
| 225 | return false; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | EditorProgress::EditorProgress(const String &p_task, const String &p_label, int p_amount, bool p_can_cancel, bool p_force_background) { |
| 230 | if (!p_force_background && Thread::is_main_thread()) { |
no outgoing calls
no test coverage detected