[2.92b1] MediaPlayer Notification play/pause error

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

[2.92b1] MediaPlayer Notification play/pause error

Post by *matixx »

If I swipe down the notification I can not pause the actual mp4.

Oreo 8.00
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [2.92b1] MediaPlayer Notification play/pause error

Post by *ghisler(Author) »

This works fine here on Android 8 Oreo. Do the other buttons work?
- next track
- previous track (should also jump to the start of a video)
- close?
Author of Total Commander
https://www.ghisler.com
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

Re: [2.92b1] MediaPlayer Notification play/pause error

Post by *matixx »

No button works.
Only Touch on loaded Track is making the player visible.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [2.92b1] MediaPlayer Notification play/pause error

Post by *ghisler(Author) »

Strange, it works with all my real devices (including Android 8.0), but not in the Android 8 emulator. I will try to find a workaround. So far I don't know why it wouldn't work any longer...
Author of Total Commander
https://www.ghisler.com
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

Re: [2.92b1] MediaPlayer Notification play/pause error

Post by *matixx »

my Device:

XIAOMI Mi5 Pro
Android 8.0.0 OPR1.170623.032
Sicherheitspatch von 2018-10-01
MIUI 10 global 8.11.1 beta
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [2.92b1] MediaPlayer Notification play/pause error

Post by *ghisler(Author) »

OK, after some tests I found out that I need to explicity register the receiver for these button notifications - it's not sufficient to just delcare it in the manifest. I will fix it in the next beta. Thanks for reporting it!
Author of Total Commander
https://www.ghisler.com
Post Reply