summaryrefslogtreecommitdiff
path: root/platform/android/java_godot_io_wrapper.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-04 19:06:54 +0200
committerGitHub <noreply@github.com>2022-04-04 19:06:54 +0200
commitf084d50cdd2af40fa94f7a50dee5052cf8166b40 (patch)
tree2ba64bc4daf868bbbcb797075c0c8fbf2deb46c1 /platform/android/java_godot_io_wrapper.cpp
parent22e8e8626fe417e131f78248231c4dea89fb2603 (diff)
parentf1a7caf9bb0e37b4176cda792fe7180db267dfdc (diff)
Merge pull request #59880 from m4gr3d/update_resizeable_main
Diffstat (limited to 'platform/android/java_godot_io_wrapper.cpp')
-rw-r--r--platform/android/java_godot_io_wrapper.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/android/java_godot_io_wrapper.cpp b/platform/android/java_godot_io_wrapper.cpp
index a5698f4efc..d6e3ad90b1 100644
--- a/platform/android/java_godot_io_wrapper.cpp
+++ b/platform/android/java_godot_io_wrapper.cpp
@@ -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() {