{ "id": "131233", "key": "TIMOB-17240", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-06-04T13:09:46.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:09.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h4. Problem Description\r\nWhen opening an app and putting it to the background, TiCacheCleanup is still run every 60 seconds. This is probably not ideal for battery life and also not really necessary as long as the app is not being actively used.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new Titanium project\r\n2. Run it on an Android device or on Genymotion\r\n3. Put app to background\r\n4. Do DDMS \"Method profiling\" for at least 60 seconds on the app\r\n5. You will see that TiResponseCache$TiCacheCleanup.run is executed every 60 seconds.", "attachment": [], "flagged": false, "summary": "Android: TiCacheCleanup running indefinitely when app is in background", "creator": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.2.3\r\nAndroid", "comment": { "comments": [ { "id": "311532", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Thanks for reporting. I set the priority to none, since the Platform Team will set it.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-06-30T01:08:29.000+0000", "updated": "2014-06-30T01:08:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }