diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-05-25 08:44:49 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-05-25 08:44:49 +0000 |
commit | cc9079d24d6dd73f2118a1b413fbaa3f13ed44a1 (patch) | |
tree | f753b5decf66632374408d7d33b60a4b5866340a /firmware/target | |
parent | caf907eef137dea6e29468d3311ce8197217900f (diff) |
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
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/android/button-android.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/button-android.c b/firmware/target/hosted/android/button-android.c index ed1e125223..051a5b574e 100644 --- a/firmware/target/hosted/android/button-android.c +++ b/firmware/target/hosted/android/button-android.c @@ -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; } |