Files
appium/android
Payman Delshad bf14801493 Refactored setOrientation() for Android.
Appium throws "Set the orientation, but app refused to rotate." when
setting the orientation to landscape on Android, which was fixed by
calling the correct function. Also, made the code simpler by defining
portrait=(0 degree rotation) and landscape=(270 degree rotation)
regardless of current display rotation. Moreover, unfreeze device
rotation at the end.
2013-10-03 14:26:54 +02:00
..