mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove duplicate resizable
settings
This commit is contained in:
parent
e659eb66a0
commit
f1a7caf9bb
4 changed files with 3 additions and 7 deletions
|
@ -198,14 +198,11 @@ void GodotIOJavaWrapper::hide_vk() {
|
|||
}
|
||||
|
||||
void GodotIOJavaWrapper::set_screen_orientation(int p_orient) {
|
||||
// The Godot Android Editor sets its own orientation via its AndroidManifest
|
||||
#ifndef TOOLS_ENABLED
|
||||
if (_set_screen_orientation) {
|
||||
JNIEnv *env = get_jni_env();
|
||||
ERR_FAIL_COND(env == nullptr);
|
||||
env->CallVoidMethod(godot_io_instance, _set_screen_orientation, p_orient);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int GodotIOJavaWrapper::get_screen_orientation() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue