[TIMOB-2069] Android: Orientation - currentOrientation is not being returned correctly, unable to use buttons to change orientation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M02 |
Components | Android |
Labels | android, android_refactor, defect, orientation, regression |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:09:33.000+0000 |
Updated | 2011-04-17T01:57:59.000+0000 |
Description
g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264.
1.Phone>Orientation
2.change orientation and check out the label that is reporting
orientation
results: current orientation is not being returned
3.Use the buttons to set orientation
results: fail silently
This goes along with implementing orientation using currentActivity.
(from [ca266ee6bf672262eddf6b2b0e8b2143027b9ee5]) better support for orientationModes in android. we now use OrientationEventListener along with setRequestedOrientation to manage when we forcefully override / control orientation. the android API doesn't expose "landscape left", so we won't be able to support it orientationModes until they do. expose the current context in the invocation for dynamic properties instead of the proxy context. fixes and code cleanup for the Gesture module [#2069 state:fixed-in-qa] [#1045] https://github.com/appcelerator/titanium_mobile/commit/ca266ee6bf672262eddf6b2b0e8b2143027b9ee5"> https://github.com/appcelerator/titanium_mobile/commit/ca266ee6bf67...
1.5.0.91838a G2 (2.2), Droid1 (2.2)