mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-29 21:02:09 +02:00
Sync notification favorites with Library, add Mornye transport icons and an output action on legacy Android, and expose the iOS favorite command. Preserve playback position when controls refresh. Vendor audio_service 0.18.19 with a small Android patch for custom notification actions. Modern Android keeps its system output switcher and transport layout.
22 lines
1.2 KiB
Markdown
Vendored
22 lines
1.2 KiB
Markdown
Vendored
# Local audio_service 0.18.19 patch
|
|
|
|
Source: the published `audio_service` 0.18.19 package (MIT; see LICENSE).
|
|
Only runtime sources are vendored. This replaces the same dependency, without
|
|
adding another playback engine or native SDK.
|
|
|
|
- Android: include custom media actions in MediaStyle notifications on Android
|
|
12 and older. Upstream exposes them only through PlaybackState, which hides
|
|
them on those versions. Keep custom action order and compact indices aligned.
|
|
- Android: allow a custom action to supply an explicit in-app activity class
|
|
using the `spotiflac.activity` extra. Its notification PendingIntent opens the
|
|
output picker directly. These activity controls are excluded from
|
|
PlaybackState custom actions: background launches from media-session binder
|
|
callbacks are blocked on newer Android. Use its native output switcher.
|
|
This is only for app-owned controls, not extension input.
|
|
|
|
Android 13+ still chooses the positions and built-in transport icons in System
|
|
UI. We preserve real play/pause/previous/next semantics for headsets, lock screen
|
|
and Android Auto instead of disguising them as unrelated custom actions.
|
|
|
|
When upgrading, compare these changes against the matching upstream files.
|