Android:
commitfc45863a45958248f34f2fe11b9e7aa47588bb72
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 23 Feb 2011 01:10:54 +0000 (23 01:10 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 23 Feb 2011 01:10:54 +0000 (23 01:10 +0000)
tree677d66d4e72fedfe134bca103ed98b5792da1440
parentd1a9190b204eaf37849aa7d79c9a0de27ee5779e
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
android/src/org/rockbox/Helper/MediaButtonReceiver.java
android/src/org/rockbox/RockboxActivity.java
android/src/org/rockbox/RockboxFramebuffer.java
android/src/org/rockbox/RockboxService.java
apps/main.c
firmware/target/hosted/android/button-android.c
firmware/target/hosted/android/lcd-android.c