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:
parent
96f02a9aa9
commit
c2a6214ecc
1 changed files with 3 additions and 3 deletions
|
@ -141,9 +141,9 @@ int button_read_device(int *data)
|
||||||
|
|
||||||
static int hp_state;
|
static int hp_state;
|
||||||
JNIEXPORT void JNICALL
|
JNIEXPORT void JNICALL
|
||||||
Java_org_rockbox_monitors_HeadphoneMonitor_postCallHungUp(JNIEnv *env,
|
Java_org_rockbox_monitors_HeadphoneMonitor_postHpStateChanged(JNIEnv *env,
|
||||||
jobject this,
|
jobject this,
|
||||||
jint state)
|
jint state)
|
||||||
{
|
{
|
||||||
(void)env; (void)this;
|
(void)env; (void)this;
|
||||||
hp_state = state;
|
hp_state = state;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue