From 95e24dd7a54256e8df56e347c0f43133087a1df2 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 23 Feb 2011 01:10:54 +0000 Subject: 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 --- apps/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 3fc48be..bd04223 100644 --- a/apps/main.c +++ b/apps/main.c @@ -410,7 +410,6 @@ static void init(void) #endif /* CONFIG_CODEC == SWCODEC */ audio_init(); - button_clear_queue(); /* Empty the keyboard buffer */ settings_apply_skins(); } -- cgit v1.1