Two memory optimizations:
1. ImageDecoder FILL path: use setCrop() to crop to canvas during decode
instead of allocating the full fill-scale bitmap first. For a portrait
2000x3000 image on a 4032x2992 parallax canvas, this avoids a ~97MB
intermediate (4032x6048) — the output is directly 4032x2992 (~48MB).
2. BOTH mode: recycle the HOME bitmap before rendering the LOCK bitmap,
so they are never in memory simultaneously. Removes the fallback that
reused the HOME bitmap for LOCK (which kept it alive during LOCK
rendering). If LOCK rendering fails, the lock screen retains its
previous wallpaper rather than getting the oversized HOME bitmap.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>