This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12312 - Android: Stop tick timer when app is closed
Attached to Project:
Rockbox
Opened by Björn Stenberg (zagor) - Tuesday, 04 October 2011, 22:10 GMT+2
Last edited by Björn Stenberg (zagor) - Tuesday, 04 October 2011, 22:14 GMT+2
Opened by Björn Stenberg (zagor) - Tuesday, 04 October 2011, 22:10 GMT+2
Last edited by Björn Stenberg (zagor) - Tuesday, 04 October 2011, 22:14 GMT+2
|
DetailsOur tick timer eats CPU even when the app is closed and music is stopped. To fix this, I added a tick_pause() and tick_resume() to kernel-android.c, to be called from java when appropriate.
I've figured out where to call pause, but the current location of resume is inadequate. The app wakes up to a black screen. A clue, anyone? |
This task depends upon