summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-02-23 01:10:54 +0000
committerThomas Martitz <kugel@rockbox.org>2011-02-23 01:10:54 +0000
commit95e24dd7a54256e8df56e347c0f43133087a1df2 (patch)
tree677d66d4e72fedfe134bca103ed98b5792da1440 /apps/main.c
parentda3417706d927c7da0b59351fa8cc010d63d7928 (diff)
downloadrockbox-95e24dd7a54256e8df56e347c0f43133087a1df2.tar.gz
rockbox-95e24dd7a54256e8df56e347c0f43133087a1df2.zip
Android:
* Re-create RockboxFramebuffer instance with every time there's a new Activity. * Also, allow Rockbox to be started via multimedia buttons, immediately starting playback if wanted. We don't need to keep the fb instance around when it backround, and it makes us less depending on it and the activity (less race conditions). And this is how you usually do it in Android apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 3fc48be183..bd04223f97 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -410,7 +410,6 @@ static void init(void)
410#endif /* CONFIG_CODEC == SWCODEC */ 410#endif /* CONFIG_CODEC == SWCODEC */
411 411
412 audio_init(); 412 audio_init();
413 button_clear_queue(); /* Empty the keyboard buffer */
414 413
415 settings_apply_skins(); 414 settings_apply_skins();
416} 415}