summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-07-22 06:50:41 +0000
committerThomas Martitz <kugel@rockbox.org>2011-07-22 06:50:41 +0000
commitc2a6214ecccd2ad69c13c6fd1c153dee4d2f7e97 (patch)
tree590587f56aa100a5c903e399ab8d35203988fd7d /firmware
parent96f02a9aa933f928d6b8e1500607f9ddea29f9ae (diff)
Android: Fix crash on start up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30190 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/android/button-android.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/hosted/android/button-android.c b/firmware/target/hosted/android/button-android.c
index 6751effd1b..406d37d25b 100644
--- a/firmware/target/hosted/android/button-android.c
+++ b/firmware/target/hosted/android/button-android.c
@@ -141,9 +141,9 @@ int button_read_device(int *data)
static int hp_state;
JNIEXPORT void JNICALL
-Java_org_rockbox_monitors_HeadphoneMonitor_postCallHungUp(JNIEnv *env,
- jobject this,
- jint state)
+Java_org_rockbox_monitors_HeadphoneMonitor_postHpStateChanged(JNIEnv *env,
+ jobject this,
+ jint state)
{
(void)env; (void)this;
hp_state = state;