[TIMOB-17240] Android: TiCacheCleanup running indefinitely when app is in background
GitHub Issue | n/a |
Type | Improvement |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.2.3 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Philippe Wueger |
Assignee | Unknown |
Created | 2014-06-04T13:09:46.000+0000 |
Updated | 2018-02-28T20:04:09.000+0000 |
Description
Problem Description
When 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.
Steps to reproduce
1. Create a new Titanium project
2. Run it on an Android device or on Genymotion
3. Put app to background
4. Do DDMS "Method profiling" for at least 60 seconds on the app
5. You will see that TiResponseCache$TiCacheCleanup.run is executed every 60 seconds.
Comments
JSON Source
Thanks for reporting. I set the priority to none, since the Platform Team will set it.