You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Move alert function from DisplayServer to OS.
This commit is contained in:
@@ -71,6 +71,13 @@ public:
|
||||
virtual ~AndroidLogger() {}
|
||||
};
|
||||
|
||||
void OS_Android::alert(const String &p_alert, const String &p_title) {
|
||||
GodotJavaWrapper *godot_java = OS_Android::get_singleton()->get_godot_java();
|
||||
ERR_FAIL_COND(!godot_java);
|
||||
|
||||
godot_java->alert(p_alert, p_title);
|
||||
}
|
||||
|
||||
void OS_Android::initialize_core() {
|
||||
OS_Unix::initialize_core();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user