{ "id": "165278", "key": "AC-4724", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-01-13T11:19:12.000+0000", "created": "2017-01-12T13:42:44.000+0000", "labels": [ "android", "rotation" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-13T13:52:44.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I put \"Automatic Rotation\" off using the native functionality in Android (6.0.1), my Titanium app (currently on 6.0.1.GA, coincidentally) still allows rotating the screen when rotating the device.\r\n\r\nI cant find a specific option i need to set in Tiapp.xml or AndroidManifest.xml.", "attachment": [], "flagged": false, "summary": "Android ScreenRotation still works when turning it off natively", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "OS: Android\r\nTitanium SDK version: 6.0.1.GA. Quite possibly also the ones after Android 6.0 Marshmallow.", "comment": { "comments": [ { "id": "404525", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I am not clear about what you mean with \"using the native functionality\". Do you mean by disabling auto rotation in device? Cause, I tested a hello world project the app stays portrait mode with auto rotation off. The project build in SDK 6.0.1.GA and running on Android 6.0.1 device. See guide for limiting orientation in Android: http://docs.appcelerator.com/platform/latest/#!/guide/Orientation. Thanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-01-12T14:52:06.000+0000", "updated": "2017-01-12T14:52:06.000+0000" }, { "id": "404584", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "You can specify it in the {{}} section of your tiapp.xml:\r\n{code:xml}\r\n \r\n \r\n \r\n ...\r\n \r\n \r\n \r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-13T11:19:12.000+0000", "updated": "2017-01-13T11:19:12.000+0000" }, { "id": "404588", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "body": "Yes, my bad, I managed to fix it with some fiddling. I might follow this up with a new bugreport coming week, because it mightve been conflicting with a tss file for a object", "updateAuthor": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2017-01-13T13:52:44.000+0000", "updated": "2017-01-13T13:52:44.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }