[TIMOB-7924] Android: Ti.Gesture.orientation should report device orientation, not screen orientation
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2012-03-20T12:28:00.000+0000 |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | parity |
| Reporter | Arthur Evans |
| Assignee | Marshall Culpepper |
| Created | 2012-03-08T00:10:29.000+0000 |
| Updated | 2017-03-10T19:15:35.000+0000 |
Description
In the current implementation, Ti.Gesture.orientation and Ti.UI.Window.orientation return exactly the same information--the current window's orientation.
iOS reports the current physical orientation of the device, regardless of the window orientation, which seems like the correct thing to do.
This looks to be a duplicate of TIMOB-7891, please re-open if that is not the case
Closing ticket as duplicate.