summaryrefslogtreecommitdiff
path: root/android/src/org
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-22 23:46:54 +0100
committerThomas Martitz <kugel@rockbox.org>2012-03-22 23:46:54 +0100
commit2e03c2a8b346e466ff877ddfba7204a255895280 (patch)
tree8bbac99244673af9515950e32c218b8444397574 /android/src/org
parent901521d6de795fe12a6f720cb158950c0d3d51d4 (diff)
android: Remove hack not needed anymore (since 58e097d).
Change-Id: I3396a1245fe5fcbb5d2494bfabf8972c7617e6b1
Diffstat (limited to 'android/src/org')
-rw-r--r--android/src/org/rockbox/RockboxService.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/android/src/org/rockbox/RockboxService.java b/android/src/org/rockbox/RockboxService.java
index fc496f4331..4242726331 100644
--- a/android/src/org/rockbox/RockboxService.java
+++ b/android/src/org/rockbox/RockboxService.java
@@ -116,13 +116,6 @@ public class RockboxService extends Service
if (intent.getAction().equals(Intent.ACTION_MEDIA_BUTTON))
{
- /* give it a bit of time so we can register button presses
- * sleeping longer doesn't work here, apparently Android
- * surpresses long sleeps during intent handling */
- try {
- Thread.sleep(50);
- } catch (InterruptedException e) { }
-
KeyEvent kev = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT);
RockboxFramebuffer.buttonHandler(kev.getKeyCode(),
kev.getAction() == KeyEvent.ACTION_DOWN);