Hey, Poweramp team. I've been facing this strange issue which started happening recently, and I don't know if it's because the latest version of Poweramp or the December patch for my Galaxy A54.
When the screen/phone is off or in my pocket, when I push the headset buttons (either pause/play or double-triple push), the screen lights up. When it's in my pocket, it will mess with the song playing and whatnot. The log doesn't seem to show something strange.
==================
13:07:05.969 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=108089617 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:07:05.971 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=108089617 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:07:05.977 PlayerService PREVIOUS
from PSMediaButtonReceiver
==================
13:07:21.689 PSMediaSessionHelper.Callback onSkipToPrevious
com.android.systemui
==================
13:07:26.194 PSMediaSessionHelper.Callback onSkipToPrevious
com.android.systemui
==================
13:09:39.124 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=108242770 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.131 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=108242770 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.152 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=108242780 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.153 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=108242780 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.183 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=108242790 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.186 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=108242790 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:09:39.190 PlayerService PREVIOUS
from PSMediaButtonReceiver
==================
13:12:22.389 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=108406049 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.401 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=108406049 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.438 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=108406058 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.456 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=108406058 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.498 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=108406068 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.499 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=108406068 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:12:22.508 PlayerService PREVIOUS
from PSMediaButtonReceiver
==================
13:13:24.442 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=108468098 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:13:24.450 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=108468098 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:13:25.059 PlayerService TOGGLE_PLAY_PAUSE
from PSMediaButtonReceiver pausePlaying
==================
13:14:17.953 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=108521524 sourcePak=com.android.systemui flags=0x8 playerState=2
==================
13:14:17.996 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=108521524 sourcePak=com.android.systemui flags=0x8 playerState=2
==================
13:14:18.314 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying
==================
13:17:27.357 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=108711054 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.386 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=108711054 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.404 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=108711064 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.407 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=108711064 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.420 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=108711073 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.426 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=108711073 sourcePak=com.android.systemui flags=0x8 playerState=1
==================
13:17:27.430 PlayerService PREVIOUS
from PSMediaButtonReceiver