You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Remove duplicate resizable settings
(cherry picked from commit f1a7caf9bb)
This commit is contained in:
committed by
Rémi Verschelde
parent
4ff726b933
commit
a3b445d7e8
@@ -208,14 +208,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() const {
|
||||
|
||||
Reference in New Issue
Block a user