Jump to content

Phone wakes the screen up when switching songs with headset buttons


Recommended Posts

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 
 

Link to comment
Share on other sites

I've checked on my own A54 with December update, and Android's lockscreen will appear for a few seconds to show the media notification panel when you press any of the headset cable buttons (Volume, Play/Pause, etc). But the phone should not be getting unlocked for normal screen use, it should remain locked. It's nothing to do with Poweramp though, this happens whenever any audio app is playing - not sure if this functionality was added as part of the Android 14 rollout or the newer December update.

If the media controls on the lockscreen are getting accidentally pressed in your pocket, you can turn that widget off in Android Settings=>Lock Screen=>Widgets.

Andre

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...