Duplicate entries, donation config, spectrogram, audio route, cover save,
share and redownload results carried fields that nothing reads; the
duplicate query no longer selects the unused album name.
UpdateInfo.publishedAt/isPrerelease, UpdateChecker.currentVersion,
BackupBundle.isEmpty, LocalLibraryItem.matchKey and two unused desktop
debug setters are never read.
MusicPlayerController.play/pause/stop, PreviewPlayerState.progress, the
manual extension cleanup, setUseExtensionProviders and the repo store's
unused category list, clearError and write-only fields have no caller.
The health check, hook, setting and track matching fields were parsed from
backend JSON but never read, and quality options only need a settings count.
The ShaderMask rendered the artwork offscreen on every raster frame, at video
rate for motion artwork. Painting the animated background gradient over the
artwork with the inverse fade as alpha composites the same pixels within
8-bit rounding; only the tilted gradient of the lyrics transition still
uses a small layer.
The Library search fields, the Install extension panel and the band count and
theme mode pickers sit on a flat page or an opaque group card, so filtering
that backdrop costs a read for an identical result. They now keep the tint and
rim like the Home and Settings fields.
Album, playlist and artist pages each rebuilt the same select all toggle
around SelectionBottomBar; SelectionModeMixin.buildSelectionBar now does it
once. The Library selection bar's mobile delete reuses
DestructiveSelectionButton with its own label.
The collapsing title flip used setState, rebuilding the whole album,
playlist, artist or track metadata page mid-scroll. The mixin now keeps the
flag in a ValueNotifier that these headers listen to; screens that still read
the bool keep the page rebuild.
Glass settings groups scroll over the opaque page color, so their
backdrop blur filtered a uniform color every frame. They now keep the
glass tint without a backdrop pass, as the Home and Settings fields do.
Two-button confirmations, single-choice settings sheets and header plus
group slivers were hand-written at every call site. showAppConfirmDialog,
showAppChoiceSheet and settingsSectionSlivers build the same trees, and
SettingsGroup's four inset wrappers become one.
FFmpegService only forwarded each call to FFmpegProbe, FFmpegMetadata,
FFmpegConversion, FFmpegDecryption or FFmpegReplayGain with identical
defaults, so callers now use those modules and the test-only markers move
to the owning statics.
Playback queries LyricTimelineIndex; the linear activeLyricIndices only served
as a test oracle. Scenario tests now exercise the production index directly.
Production removes wishlist, loved, playlist and playlist-track entries through
the batch paths. Device benchmarks now use the production one-item calls as
their per-track baseline.
Backup restore goes through restoreFromBackupOperation with the native or
upsertBatch codec, so the streamed replaceAll path was only reached by tests.
The iOS restore test now drives the production operation with a seeded fake.
Collections live in SQLite and backup restore feeds the raw maps to the
database, so nothing parses the old JSON shape; the picker summary dates
were also never read.
Production reads playlist tracks through loadPlaylistTracksSnapshot and the
test fake keeps its own row helper, so the visibleForTesting wrapper had no caller.
Looks the snapshot render object up by its class instead of a widget type
name string, and narrows the LyricBlur doc to the changes that actually drop
the cached image.
With liquid glass every defocused lyric line ran its own blur pass on each
composited frame, all song long while word-synced lyrics play. A line whose
blur has settled is now rasterized once and drawn as an image until it
changes; lines still easing, or rebuilt, blur live as before.
The 70 dp artwork in the Mornye details sheet decoded the original cover,
up to about 36 MB for a 3000 px image. Decoding at the display size times
the device pixel ratio keeps it sharp without the large transient bitmap.
Each Library rebuild combined every loaded page, filtered playlist tracks
and regrouped the in-memory History snapshot up to three times, so the
section cache never hit and every row's month was formatted again. The
results are now memoized per input identity, with identical output.
The Songs and Singles pages wrote the same grid, table, sectioned and list
layouts twice, and the completion-bridge, special collection and playlist
drop-target cells were written once per grid and list. One builder now
serves each pair with the same widget trees.
Records the SQL and bound arguments of every track, album, count and artist
query across sort modes, filters and page shapes, so refactors of the queue
store cannot silently change Library ordering or filtering.
Synced lyrics depended on the covered height that animates while the
controls fade, rebuilding the whole list every frame; only the loading
and empty states read it now. Position ticks and digit rolls re-recorded
the entire player because rebuilds under the body LayoutBuilder relayout
it and the seek slider's unused LayoutBuilder relaid out up to the
scaffold; the slider drops it, and the body content and timeline keep
their own layers.
The Mornye player layout and its queue repeated the same "reported index
while it still names the current item, else first match" rule; one
provider now derives it, with a test for stale, shuffled and empty queues.
Compact chrome took five backdrop reads on every scroll frame: the bar
batch plus two stacked reads per side capsule. While folding, each capsule
now has a batch of its own (three reads); at rest the capsules join the
player's batch (one read). A GlobalKey keeps their lenses mounted.
A lens outside any batch took two backdrop reads (a stock blur, then the
shader). Each one now takes a batch key of its own, so the package composes
blur and refraction into one read, as overlays and the bar already did. The
home filter chips never overlap and share one read for the whole row.
The toolbar button copied the active downloads and rebuilt on every queue
change; it now selects the count and progress, so it rebuilds only when the
ring or the count changes.
The table re-sorted every row on each build, including a selection click,
and the quality comparator parsed both labels in every comparison. Sort keys
are now computed once and the order is kept while the rows and sort stay
the same; hovering a row rebuilds only its fading actions.
Keep the media service foreground while paused, release CPU wake locks on pause, and demote the service on stop. Await native state publication before requesting audio focus, honor focus denial, and apply the initial MediaPlayer wake mode.
Validated with 141 playback tests and an Android 17 screen-off pause, resume, and stop integration test.
The player now resolves only the cover source colour, so album pages opened
from it no longer found a cached dark scheme and started gray. Album surfaces
read the shared source colour cache first and fall back as before.
Palette extraction now reads both pixel buffers from one decode and scores
the seed and the source colour in a single background job, instead of a seed
isolate plus a pixel loop on the UI isolate. resolveSourceColor gives
surfaces that only shade from the cover the same colour without quantizing
or building a colour scheme.
IconData overrides ==, so the switch tested up to 187 patterns in turn on
every icon build. A map keeps the first result per icon, which the switch
computes the same way each time.
Hidden tabs stay laid out, so every keyboard frame rebuilt and relaid out
their scaffolds although nothing of them paints. They now see no bottom
inset until shown, and keep the same state as before.
The button group and playback transport duplicated the press state and
squish spring, and two icon buttons repeated the disabled color pair. Also
drop three Material Symbols entries no icon in the app uses.
The theme draws determinate waves flat below 10% and above 95%, where the
wave phase is invisible, yet the package kept repainting every frame.
Muting the ticker there keeps the same pixels and stops idle frames.
MornyeArtistSurface derived three new ThemeData instances on every page
rebuild (selection, load more, title flips). It now keeps them until the base
theme or the artwork-derived colors change, so the subtree sees the same theme.