summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-10-31 12:11:14 +0000
committerThomas Martitz <kugel@rockbox.org>2010-10-31 12:11:14 +0000
commitbf63f241681ee5d09496444e711979dbad09419f (patch)
tree3c8db59994ea490f79e306c6219784b57aa1ce1a /firmware/target/hosted
parent2d05d2f9daebd7559c9dd05f4784e5f677b6dbbe (diff)
downloadrockbox-bf63f241681ee5d09496444e711979dbad09419f.tar.gz
rockbox-bf63f241681ee5d09496444e711979dbad09419f.tar.bz2
rockbox-bf63f241681ee5d09496444e711979dbad09419f.zip
Pass the framebuffer to the service in the constructor rather than later from native code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28411 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/android/lcd-android.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/target/hosted/android/lcd-android.c b/firmware/target/hosted/android/lcd-android.c
index 75bf7a6d1d..78b1f12f7f 100644
--- a/firmware/target/hosted/android/lcd-android.c
+++ b/firmware/target/hosted/android/lcd-android.c
@@ -77,10 +77,6 @@ void lcd_init_device(void)
RockboxFramebuffer_class,
"java_lcd_update_rect",
"(IIII)V");
-
- jmethodID fbsetter = e->GetMethodID(env_ptr,RockboxService_class,
- "set_fb", "(Lorg/rockbox/RockboxFramebuffer;)V");
- e->CallVoidMethod(env_ptr, RockboxService_instance, fbsetter, RockboxFramebuffer_instance);
display_on = true;
}