Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 24th, 2011  |  syntax: None  |  size: 0.51 KB  |  views: 137  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/firmware/target/hosted/android/button-android.c b/firmware/target/h
  2. index ed1e125..051a5b5 100644
  3. --- a/firmware/target/hosted/android/button-android.c
  4. +++ b/firmware/target/hosted/android/button-android.c
  5. @@ -77,6 +77,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env,
  6.              button = dpad_to_button((int)keycode);
  7.          if (button)
  8.          {
  9. +            reset_poweroff_timer();
  10.              queue_post(&button_queue, button, 0);
  11.              return true;
  12.          }