{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6348","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6348/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6348/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6348/events","html_url":"https://github.com/appium/appium/issues/6348","id":144287765,"number":6348,"title":"Rotation is inverted on Android","user":{"login":"vicusbass","id":5689301,"avatar_url":"https://avatars.githubusercontent.com/u/5689301?v=3","gravatar_id":"","url":"https://api.github.com/users/vicusbass","html_url":"https://github.com/vicusbass","followers_url":"https://api.github.com/users/vicusbass/followers","following_url":"https://api.github.com/users/vicusbass/following{/other_user}","gists_url":"https://api.github.com/users/vicusbass/gists{/gist_id}","starred_url":"https://api.github.com/users/vicusbass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicusbass/subscriptions","organizations_url":"https://api.github.com/users/vicusbass/orgs","repos_url":"https://api.github.com/users/vicusbass/repos","events_url":"https://api.github.com/users/vicusbass/events{/privacy}","received_events_url":"https://api.github.com/users/vicusbass/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-29T14:46:59Z","updated_at":"2016-05-18T08:26:25Z","closed_at":null,"body":"I noticed a problem with screen orientation. The tablet is in Portrait position, but Appium thinks it's Landscape. When I rotate the screen using the rotate(ScreenOrientation.PORTRAIT) method, the screen rotates to landscape.\r\n\r\n## Environment\r\n\r\n* Appium version: 1.4.16.1\r\n* Desktop OS: Windows 7 64bits\r\n* Mobile platform: Android 5.1.1, 5.0.2\r\n* Real device: Nexus 10, Samsung Note 10\r\n* Appium Java Client: 3.4.0\r\n\r\n## Link to Appium logs\r\n\r\nHere's a snippet of Appium logs showing what happens when I try to rotate to Lanscape, being in Portrait mode:\r\nhttps://gist.github.com/vicusbass/482a1dbd7aa2dfb5763c\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/219959358","html_url":"https://github.com/appium/appium/issues/6348#issuecomment-219959358","issue_url":"https://api.github.com/repos/appium/appium/issues/6348","id":219959358,"user":{"login":"irenadavidov","id":19370222,"avatar_url":"https://avatars.githubusercontent.com/u/19370222?v=3","gravatar_id":"","url":"https://api.github.com/users/irenadavidov","html_url":"https://github.com/irenadavidov","followers_url":"https://api.github.com/users/irenadavidov/followers","following_url":"https://api.github.com/users/irenadavidov/following{/other_user}","gists_url":"https://api.github.com/users/irenadavidov/gists{/gist_id}","starred_url":"https://api.github.com/users/irenadavidov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irenadavidov/subscriptions","organizations_url":"https://api.github.com/users/irenadavidov/orgs","repos_url":"https://api.github.com/users/irenadavidov/repos","events_url":"https://api.github.com/users/irenadavidov/events{/privacy}","received_events_url":"https://api.github.com/users/irenadavidov/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T08:26:25Z","updated_at":"2016-05-18T08:26:25Z","body":"Create a pull request with the fix for this issue: https://github.com/appium/appium-android-bootstrap/pull/21"}}