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