{ "id": "62701", "key": "TIMOB-2069", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11227", "name": "Release 1.5.0 M02", "archived": true, "released": true, "releaseDate": "2010-11-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:59.000+0000", "created": "2011-04-15T03:09:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "defect", "orientation", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:59.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
g1 running 1.6 and the sim running 2.2 Ti Mobile sdk\n1.5.0.02c264.
\n1.Phone>Orientation
\n2.change orientation and check out the label that is reporting\norientation
results: current orientation is not being returned
\n3.Use the buttons to set orientation
\nresults: fail silently
This goes along with implementing orientation using\ncurrentActivity.
(from [ca266ee6bf672262eddf6b2b0e8b2143027b9ee5])\nbetter support for orientationModes in android. we now use\nOrientationEventListener along with setRequestedOrientation to\nmanage when we forcefully override / control orientation. the\nandroid API doesn't expose \"landscape left\", so we won't be able to\nsupport it orientationModes until they do. expose the current\ncontext in the invocation for dynamic properties instead of the\nproxy context. fixes and code cleanup for the Gesture module\n[#2069 state:fixed-in-qa] [#1045]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/ca266ee6bf67...
1.5.0.91838a G2 (2.2), Droid1 (2.2)