| 928 | } |
| 929 | |
| 930 | Error OS_Android::create_instance(const List<String> &p_arguments, ProcessID *r_child_id) { |
| 931 | int instance_id = godot_java->create_new_godot_instance(p_arguments); |
| 932 | if (instance_id == -1) { |
| 933 | return FAILED; |
| 934 | } |
| 935 | if (r_child_id) { |
| 936 | *r_child_id = instance_id; |
| 937 | } |
| 938 | return OK; |
| 939 | } |
| 940 | |
| 941 | Error OS_Android::kill(const ProcessID &p_pid) { |
| 942 | if (godot_java->force_quit(nullptr, p_pid)) { |
no test coverage detected