{ "id": "63550", "key": "TIMOB-2918", "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": "11240", "name": "Release 1.6.0 M07", "archived": true, "released": true, "releaseDate": "2011-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:27.000+0000", "created": "2011-04-15T03:32:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "accelerometer", "android", "kitchen", "release-1.6.0", "sink" ], "versions": [], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-04-17T02:00:27.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}

Spawned from #992

\n

Update KS to handle pause, etc events and remove accelerometer\nlisteners so that the accelerometer is not being used when the app\nis in the background.

{html}", "attachment": [], "flagged": false, "summary": "Android: Update KS to remove accelerometer events on pause, etc", "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": "129712", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [a8f1174c088857741e2f46190c81de76154f1e65])\n[#2918 state:fixed-in-qa] updated KS\naccelerometer

\n

added pause / resume handlers in accelerometer in order to add\nand remove accelerometer events so accelerometer wont run in\nbackground
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/a8f1174c0888...

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

Fix can be verified via KS. When inside accelerometer example,\nwhen hitting back or home you should see a log entry that indicates\nthe event has been removed. You should also see another log entry\nwhen resuming about the event being added again.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:32:56.000+0000", "updated": "2011-04-15T03:32:56.000+0000" }, { "id": "129714", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

2.2 device, Titanium 1.6.0 6e8d57883

\n

Confirmed...

\n
{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:32:57.000+0000", "updated": "2011-04-15T03:32:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }