[TIMOB-1045] implement orientationModes for android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M02 |
Components | Android |
Labels | android, feature, orientation |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:42:23.000+0000 |
Updated | 2011-04-17T01:55:03.000+0000 |
That's bad news, y'all. Android is obviously the red-headed stepchild for y'all.
Shouldn't this be easy? Anyone want to point me at some source code so I can write it myself?
Testcase from #1145 (duplicate):
(from [5275c0b0d7158103c4544343f12ad49d6501283d]) implementation of Window.orientationModes for Android [#1045 state:fixed-in-qa milestone:"Release 1.5.0 M02"] https://github.com/appcelerator/titanium_mobile/commit/5275c0b0d7158103c4544343f12ad49d6501283d"> https://github.com/appcelerator/titanium_mobile/commit/5275c0b0d715...
(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)