1
0
Fork 0
forked from len0rd/rockbox

Android: Fix crash on start up.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30190 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-07-22 06:50:41 +00:00
parent 96f02a9aa9
commit c2a6214ecc

View file

@ -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;