diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-02-02 00:06:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 00:06:53 +0100 |
commit | 530165206b9dd9155b00c0ba418a8bdcfcd51c69 (patch) | |
tree | e8f14d07b3b5039b100bae57547fb85fbcdc3471 /app | |
parent | db5d47967a6de37604ffa938d4100dcf7d28b917 (diff) | |
download | AntennaPod-530165206b9dd9155b00c0ba418a8bdcfcd51c69.zip |
Fix when playback is started from MediaSessionCompat.Callback (#6295)
In that case:
- The service does not go through onStartCommand, so it does not go to foreground state.
- The media session is already destroyed.
Now, create a new media session and definitely start foreground service when something is playing.
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions