Jump to content

dws_nz

Approved Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Blogs

Gallery

Downloads

Poweramp Knowledge Base

База знаний Poweramp

Poweramp知识库

Poweramp Equalizer Knowledge Base

База знаний Poweramp Equalizer

Store

Events

Ideas

Everything posted by dws_nz

  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=0x8 playerState=1 ================== 10:46:01.763 PlayerService TOGGLE_PLAY_PAUSE from PSMediaButtonReceiver pausePlaying ================== 10:46:05.540 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=1800616 flags=0x8 playerState=2 ================== 10:46:05.550 PlayerService RESUME from PSMediaButtonReceiver resumePlaying ================== 10:46:05.672 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=1800755 flags=0x8 playerState=1 ================== 10:46:07.881 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=1802956 flags=0x8 playerState=1 ================== 10:46:08.016 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=1803095 flags=0x8 playerState=1 ================== 10:46:08.092 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=1803175 flags=0x8 playerState=1 ================== 10:46:08.236 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=1803315 flags=0x8 playerState=1 ================== 10:46:08.860 PlayerService NEXT from PSMediaButtonReceiver ================== 10:46:15.759 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=1810835 flags=0x8 playerState=1 ================== 10:46:15.875 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=1810952 flags=0x8 playerState=1 ================== 10:46:15.949 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=1811032 flags=0x8 playerState=1 ================== 10:46:16.096 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=1811172 flags=0x8 playerState=1 ================== 10:46:16.214 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=1811293 flags=0x8 playerState=1 ================== 10:46:16.351 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=1811433 flags=0x8 playerState=1 ================== 10:46:16.364 PlayerService PREVIOUS from PSMediaButtonReceiver
  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 source=0x0 sources=0x301 virt=true repeat=0 actionTime=1139178 flags=0x40000000 playerState=1 ================== 10:35:04.701 PlayerService TOGGLE_PLAY_PAUSE from PSMediaButtonReceiver pausePlaying ================== 10:35:09.232 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1144319 flags=0x40000000 playerState=2 ================== 10:35:09.238 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PLAY_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1144325 flags=0x40000000 playerState=2 ================== 10:35:09.245 PlayerService RESUME from PSMediaButtonReceiver resumePlaying ================== 10:35:12.729 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1147818 flags=0x40000000 playerState=1 ================== 10:35:12.730 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1147819 flags=0x40000000 playerState=1 ================== 10:35:12.957 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1148045 flags=0x40000000 playerState=1 ================== 10:35:12.958 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1148047 flags=0x40000000 playerState=1 ================== 10:35:13.589 PlayerService NEXT from PSMediaButtonReceiver ================== 10:35:13.592 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_NEXT ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1148680 flags=0x40000000 playerState=1 ================== 10:35:13.594 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_NEXT ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1148682 flags=0x40000000 playerState=1 ================== 10:35:14.213 PlayerService NEXT from PSMediaButtonReceiver ================== 10:35:20.554 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1155641 flags=0x40000000 playerState=1 ================== 10:35:20.557 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1155645 flags=0x40000000 playerState=1 ================== 10:35:20.780 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1155869 flags=0x40000000 playerState=1 ================== 10:35:20.781 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1155870 flags=0x40000000 playerState=1 ================== 10:35:21.000 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1156089 flags=0x40000000 playerState=1 ================== 10:35:21.000 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1156089 flags=0x40000000 playerState=1 ================== 10:35:21.009 PlayerService PREVIOUS from PSMediaButtonReceiver ================== 10:35:21.219 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1156308 flags=0x40000000 playerState=1 ================== 10:35:21.219 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PREVIOUS ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=1156309 flags=0x40000000 playerState=1 ================== 10:35:21.848 PlayerService PREVIOUS from PSMediaButtonReceiver
  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 playerState=1 ================== 10:25:42.944 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578032 flags=0x40000000 playerState=1 ================== 10:25:43.185 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578274 flags=0x40000000 playerState=1 ================== 10:25:43.187 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578275 flags=0x40000000 playerState=1 ================== 10:25:43.427 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578515 flags=0x40000000 playerState=1 ================== 10:25:43.428 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578517 flags=0x40000000 playerState=1 ================== 10:25:43.439 PlayerService PREVIOUS from PSMediaButtonReceiver ================== 10:25:43.645 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578734 flags=0x40000000 playerState=1 ================== 10:25:43.645 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PREVIOUS ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=578734 flags=0x40000000 playerState=1 ================== 10:25:44.270 PlayerService PREVIOUS from PSMediaButtonReceiver ================== 10:25:50.030 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=585118 flags=0x40000000 playerState=1 ================== 10:25:50.033 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=585120 flags=0x40000000 playerState=1 ================== 10:25:50.643 PlayerService TOGGLE_PLAY_PAUSE from PSMediaButtonReceiver pausePlaying ================== 10:25:59.785 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=594862 flags=0x8 playerState=2 ================== 10:25:59.786 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=594869 flags=0x8 playerState=2 ================== 10:25:59.790 PlayerService RESUME from PSMediaButtonReceiver resumePlaying ================== 10:26:02.366 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=597449 flags=0x8 playerState=1 ================== 10:26:02.505 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=597589 flags=0x8 playerState=1 ================== 10:26:02.547 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=597629 flags=0x8 playerState=1 ================== 10:26:02.714 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=597789 flags=0x8 playerState=1 ================== 10:26:03.341 PlayerService NEXT from PSMediaButtonReceiver ================== 10:26:08.110 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=603190 flags=0x8 playerState=1 ================== 10:26:08.246 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=603329 flags=0x8 playerState=1 ================== 10:26:08.328 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=603409 flags=0x8 playerState=1 ================== 10:26:08.427 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=603510 flags=0x8 playerState=1 ================== 10:26:08.507 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=603589 flags=0x8 playerState=1 ================== 10:26:08.651 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=603730 flags=0x8 playerState=1 ================== 10:26:08.662 PlayerService PREVIOUS from PSMediaButtonReceiver ================== 10:26:14.239 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=609311 flags=0x8 playerState=1 ================== 10:26:14.406 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=609490 flags=0x8 playerState=1 ================== 10:26:15.018 PlayerService TOGGLE_PLAY_PAUSE from PSMediaButtonReceiver pausePlaying
  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...