[java] fix screen rotate error
@@ -51,7 +51,7 @@ public ScreenOrientation getOrientation() {
@Override
public void rotate(DeviceRotation rotation) {
- executeMethod.execute(DriverCommand.SET_SCREEN_ORIENTATION, rotation.parameters());
+ executeMethod.execute(DriverCommand.SET_SCREEN_ROTATION, rotation.parameters());
}
@Override
