forked from len0rd/rockbox
Android: Implement app shutdown and thus, sleep timer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
046cec3aa7
commit
8c46ddf9d7
5 changed files with 48 additions and 14 deletions
|
@ -257,12 +257,6 @@ static void system_restore(void)
|
|||
|
||||
static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
||||
{
|
||||
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||
(void)callback;
|
||||
(void)parameter;
|
||||
bookmark_autobookmark(false);
|
||||
call_storage_idle_notifys(true);
|
||||
#else
|
||||
long msg_id = -1;
|
||||
int i;
|
||||
|
||||
|
@ -373,7 +367,6 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
|
||||
shutdown_hw();
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue