{ "id": "63732", "key": "TIMOB-3100", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:55.000+0000", "created": "2011-04-15T03:36:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "feature", "orientation", "reported-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-04-17T02:00:55.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}

When orientationModes are defined, do not allow setting\nTi.UI.orientation to an orientation that is not listed in\norientationModes.

{html}", "attachment": [], "flagged": false, "summary": "Android: disable setting orientation to disable orientation", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "130065", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Replacing reported-1.6 tag with the standard\nreported-1.6.0 tag.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:36:58.000+0000", "updated": "2011-04-15T03:36:58.000+0000" }, { "id": "130066", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [d55abb0d6cc6be9d8803239e7ebd028fdc1a3702])\n[#3101 state:fixed-in-qa] [#3100\nstate:in-progress] update orientation mechanism to use tighter\nshift band

\n

updated orientation mechanism to use tighter shift badn of +- 10\ndegrees off center of new orientation to cause orientation shift.\nAlso updated logic to disable setting orientation to an orientation\nthat is not listed in the orientationModes. #3100 is\nstill in progress because it requires more discussion with iOS team\nduring planning week to decide on a unified long term approach to\nmanually setting orientation change.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/d55abb0d6cc6...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:36:58.000+0000", "updated": "2011-04-15T03:36:58.000+0000" }, { "id": "130067", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [24c9f9d79971d07b84a9bec1e278efe0f15422b4])\n[#3100 state:fixed-in-qa] [#3101\nstate:fixed-in-qa] updated orientation mechanism to correctly check\nfor valid orientation

\n

change logic for checking valid orientation. also included fix\nfor handling setting orientation when current orientation is not\nvalid.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/24c9f9d79971...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:36:58.000+0000", "updated": "2011-04-15T03:36:58.000+0000" }, { "id": "130068", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

need test media

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:36:59.000+0000", "updated": "2011-04-15T03:36:59.000+0000" }, { "id": "130069", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

This fix can be verified via the orientation test in KS.

\n

Once you click on \"Allow Landscape only\" you should not see any\norientation change when clicking on \"Set Landscape\" or \"Set\nPortrait\". Previously, you would see the orientation shift briefly\nbefore switching back to the \"locked\" orientation.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:36:59.000+0000", "updated": "2011-04-15T03:36:59.000+0000" }, { "id": "130070", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/08/11 16:37 40e54ac)\non
\nNexus one 2.2.2
\nGalaxy Tablet 2.2

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:36:59.000+0000", "updated": "2011-04-15T03:36:59.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }