{ "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.

\n

1.Phone>Orientation
\n2.change orientation and check out the label that is reporting\norientation

\n

results: current orientation is not being returned

\n

3.Use the buttons to set orientation

\n

results: fail silently

{html}", "attachment": [], "flagged": false, "summary": "Android: Orientation - currentOrientation is not being returned correctly, unable to use buttons to change orientation ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127404", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This goes along with implementing orientation using\ncurrentActivity.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:34.000+0000", "updated": "2011-04-15T03:09:34.000+0000" }, { "id": "127405", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:35.000+0000", "updated": "2011-04-15T03:09:35.000+0000" }, { "id": "127406", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.5.0.91838a G2 (2.2), Droid1 (2.2)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:35.000+0000", "updated": "2011-04-15T03:09:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }