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:
parent
caf907eef1
commit
cc9079d24d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue