DisplayServer.screen_set_orientation() NoWork in GodotEditor(Android) Plugin

Godot Version

Godot 4.4 Android

Question

I tried to make a plugin for godot engine on Android to get a better input experience on the small screen of mobile phone.
This plugin needs to complete the following tasks:
1- Hide other interfaces except the ScriptEditor
2- Rotate the orientation of the phone

But I’m stuck in the second step, and it doesn’t work at DisplayServer.screen_set_orientation(1,0) . What should I do?