Initial release with support for the Android screen orientation
Fix for the invalid parameters check in the setOrientation method