diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-03-16 15:17:24 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-03-16 15:17:24 +0000 |
commit | 8c46ddf9d719fb29f483dc21993167907953f39c (patch) | |
tree | 03d99235b88ba6f327db503f65e67061ae5568e3 /apps/misc.c | |
parent | 046cec3aa7fd58a9519cad8d693b47a2400e1742 (diff) | |
download | rockbox-8c46ddf9d719fb29f483dc21993167907953f39c.tar.gz rockbox-8c46ddf9d719fb29f483dc21993167907953f39c.zip |
Android: Implement app shutdown and thus, sleep timer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/misc.c b/apps/misc.c index 995d65644e..0d25e2aa96 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -257,12 +257,6 @@ static void system_restore(void) | |||
257 | 257 | ||
258 | static bool clean_shutdown(void (*callback)(void *), void *parameter) | 258 | static bool clean_shutdown(void (*callback)(void *), void *parameter) |
259 | { | 259 | { |
260 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | ||
261 | (void)callback; | ||
262 | (void)parameter; | ||
263 | bookmark_autobookmark(false); | ||
264 | call_storage_idle_notifys(true); | ||
265 | #else | ||
266 | long msg_id = -1; | 260 | long msg_id = -1; |
267 | int i; | 261 | int i; |
268 | 262 | ||
@@ -373,7 +367,6 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) | |||
373 | 367 | ||
374 | shutdown_hw(); | 368 | shutdown_hw(); |
375 | } | 369 | } |
376 | #endif | ||
377 | return false; | 370 | return false; |
378 | } | 371 | } |
379 | 372 | ||