Jump to content

dws_nz

Approved Members
  • Content Count

    5
  • Joined

  • Last visited

About dws_nz

  • Rank
    Newbie
  1. TLDR; When unlocked I see the text name=Google Pixel USB-C earbuds source=0x101 virt=false in the button presses and things work properly... and when phone is locked I see additional repeated ghost commands and only the following in the button presses name=Virtual source=0x0 sources=0x301 virt=true Something odd going on
  2. And here is the same actions when the phone was unlocked at 10:46 - intent single click Pause, Resume - then dbl click skip track, then triple click back 10:46:00.981 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN name=Google Pixel USB-C earbuds source=0x101 virt=false repeat=0 actionTime=1796056 flags=0x8 playerState=1 ================== 10:46:01.156 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP name=Google Pixel USB-C earbuds source=0x101 virt=false repeat=0 actionTime=1796235 flags=
  3. For clarity I repeated the same experiment starting at 10:35 just with the phone locked with the intent to single click Pause, then Resume - then dbl click the skip track, then triple click jump back a track ================== 10:35:04.087 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1139175 flags=0x40000000 playerState=1 ================== 10:35:04.090 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual so
  4. First when screen is locked I clicked once to resume, then dbl clicked forward then triple clicked back (and two tracks were skipped each way)... the final commands were when I'd unlocked the phone and repeated the same experiment (where it worked as expected) ================== 10:25:41.399 PlayerService RESUME from PSMediaButtonReceiver resumePlaying ================== 10:25:42.942 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578029 flags=0x40000000 playerSta
  5. On Android 11, Pixel 5 When phone is unlocked and Poweramp is active I can double click headphone button to jump forward a track or triple click to go back to previous track, but when the phone is locked (in my pocket or whatever) the same actions are causing jumping back and forward two tracks. Very irritating. Any clues or fixes?
×
×
  • Create New...