playback: sync mediasession and notif
Make notification updates entirely reliant on the MediaSession. Android 11 and onwards automatically populate the notification with the MediaSession state. This apparently conflicts with updating the notification in some cases, resulting in the incorrect song being shown. Fix this by not populating the notification from Android 11 onward and only posting it when the MediaSession state was set. Resolves #179.
This commit is contained in:
@@ -26,6 +26,7 @@ finished saving
|
||||
- Fixed issue where the search filter menu would not display the correct mode
|
||||
- Fixed crash when search filter mode was changed
|
||||
- Fixed shuffle button appearing below playback bar on Android 10 and lower
|
||||
- Fixed incorrect song being shown in the notification in some cases [#179]
|
||||
|
||||
#### What's Changed
|
||||
- Reworked typography and iconography to be more aligned with material design guidelines
|
||||
|
||||
Reference in New Issue
Block a user