mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
android: Remove hack not needed anymore (since 58e097d
).
Change-Id: I3396a1245fe5fcbb5d2494bfabf8972c7617e6b1
This commit is contained in:
parent
901521d6de
commit
2e03c2a8b3
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue