[TIMOB-2468] Android: orientation - orientation returns app orientation (not device orientation)
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T03:20:35.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 M04 |
| Components | Android |
| Labels | android, orientation, regression |
| Reporter | Thomas Huelbert |
| Assignee | Don Thorp |
| Created | 2011-04-15T03:20:34.000+0000 |
| Updated | 2017-03-02T19:28:22.000+0000 |
Description
Titanium SDK version: 1.5.0 (11/29/10 08:10 faa27c7). G2 (2.2) some G1 (1.6) some droid 1 (2.2) and a bit of sim (2.1)
behavior change since last weeks pull (1.5.0.91838a)
1.Phone > orientation
2.hold it in portrait
3.Tap set landscape
results: app goes to landscape, on screen values report "landscape left", while the device is being held in portrait
expected: report back device orientation
Not sure this is a regression per se we've always reported the activities orientation not device orientation. If they wanted device orientation they would set a listener for it.
should have added : in 1.4.2 we seem to be reporting app and not device orientation.
AAAAAARGH I mean device - we used to report device orientation in 1.4.2
Orientation changes are reported per-Activity in Android, so the old app-wide behavior was probably just attached to the root activity, which would've been problematic as well. I don't know that this is necessarily a regression -- just a truer following of how Android deals with orientation change. Can we mark as invalid?
invalidating
Closed as invalid.