Jump to content

Headset skipping/previous track button combos problems when phone is locked


dws_nz

Recommended Posts

  • 2 months later...
  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 1 year later...

Samsung A54, running on Android 14, worked sometimes but it's not working now. Long press to skip works correctly. Here's the log: 

==================

16:19:51.537 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON

KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN name=TTGK Technology USB-C Audio Consumer Control source=0x101 sources=0x6103 virt=false repeat=0 actionTime=1421060 sourcePak=android flags=0x8 playerState=1

==================

16:19:51.538 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON

KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP name=TTGK Technology USB-C Audio Consumer Control source=0x101 sources=0x6103 virt=false repeat=0 actionTime=1421065 sourcePak=android flags=0x8 playerState=1

==================

16:19:52.157 PlayerService TOGGLE_PLAY_PAUSE

from PSMediaButtonReceiver pausePlaying 

==================

16:19:53.319 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON

KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN name=TTGK Technology USB-C Audio Consumer Control source=0x101 sources=0x6103 virt=false repeat=0 actionTime=1422845 sourcePak=android flags=0x8 playerState=2

==================

16:19:53.325 PlayerService RESUME

from PSMediaButtonReceiver resumePlaying 

==================

16:19:53.337 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON

KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP name=TTGK Technology USB-C Audio Consumer Control source=0x101 sources=0x6103 virt=false repeat=0 actionTime=1422850 sourcePak=android flags=

0x8 playerState=2

Link to comment
Share on other sites

I also suspect the device issuing the button presses might be reinterpreting them too, and transmitting its own variations. In your example, the first BUTTON_DOWN event (button has been pressed) and its following BUTTON_UP event (button has been released) are far too close together for human dexterity - just 1ms apart.

16:19:51.537 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN 
16:19:51.538 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP

Andre

Link to comment
Share on other sites

18 hours ago, andrewilley said:

I also suspect the device issuing the button presses might be reinterpreting them too, and transmitting its own variations. In your example, the first BUTTON_DOWN event (button has been pressed) and its following BUTTON_UP event (button has been released) are far too close together for human dexterity - just 1ms apart.

16:19:51.537 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN 
16:19:51.538 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP

Andre

Hey, my phone somehow activated the "ignore repeated presses" by itself lol, disabled it and the double skip works again. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...