1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Implement OS.get_screen_orientation() for Android

This commit is contained in:
Mark Riedesel
2020-10-22 18:22:45 -04:00
parent 231e075048
commit 92ff6c5164
6 changed files with 23 additions and 1 deletions

View File

@@ -561,6 +561,10 @@ public class GodotIO {
}
};
public int getScreenOrientation() {
return activity.getRequestedOrientation();
}
public void setEdit(GodotEditText _edit) {
edit = _edit;
}