{ "id": "61677", "key": "TIMOB-1045", "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:55:03.000+0000", "created": "2011-04-15T02:42:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "feature", "orientation" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:03.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}{html}", "attachment": [], "flagged": false, "summary": "implement orientationModes for android", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124666", "author": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

That's bad news, y'all. Android is obviously the red-headed\nstepchild for y'all.

{html}", "updateAuthor": { "name": "jeff", "key": "jeff", "displayName": "Jeff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:24.000+0000", "updated": "2011-04-15T02:42:24.000+0000" }, { "id": "124667", "author": { "name": "benmcnelly", "key": "benmcnelly", "displayName": "benmcnelly", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Shouldn't this be easy? Anyone want to point me at some source\ncode so I can write it myself?

{html}", "updateAuthor": { "name": "benmcnelly", "key": "benmcnelly", "displayName": "benmcnelly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:25.000+0000", "updated": "2011-04-15T02:42:25.000+0000" }, { "id": "124668", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Testcase from #1145 (duplicate):

\n
\nvar webView = Titanium.UI.createWebView({url:'http://google.com'});\nvar win = Titanium.UI.createWindow({fullscreen: true});\n\nwin.orientationModes = [\n\nTitanium.UI.PORTRAIT,\nTitanium.UI.UPSIDE_PORTRAIT\n];\n\nwin.add(webView);\nwin.open();\n
{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:25.000+0000", "updated": "2011-04-15T02:42:25.000+0000" }, { "id": "124669", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [5275c0b0d7158103c4544343f12ad49d6501283d])\nimplementation of Window.orientationModes for Android [#1045\nstate:fixed-in-qa milestone:\"Release 1.5.0 M02\"] \nhttps://github.com/appcelerator/titanium_mobile/commit/5275c0b0d715...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:25.000+0000", "updated": "2011-04-15T02:42:25.000+0000" }, { "id": "124670", "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-15T02:42:26.000+0000", "updated": "2011-04-15T02:42:26.000+0000" }, { "id": "124671", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.5.0.91838a G2 (2.2)

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