1
0
Fork 0
forked from len0rd/rockbox

Fix a problem where hardware keypresses dont reset the idle poweroff timer on android

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29924 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-05-25 08:44:49 +00:00
parent caf907eef1
commit cc9079d24d

View file

@ -77,6 +77,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env, jclass class,
button = dpad_to_button((int)keycode);
if (button)
{
reset_poweroff_timer();
queue_post(&button_queue, button, 0);
return true;
}