Cleanup Legacy App Logo Artifacts Task
One-shot migration helper: removes app-logo files that would otherwise sit as orphans or actively break the resource merge after adopting the FG+BG pipeline.
Files migrated (only when present):
${androidResDir}/drawable/ic_launcher.xml: pre-FG/BG generated artifact.${androidResDir}/values/ic_launcher_background.xml: pre-FG/BG artifact.template launcher icons under each
mipmap-<density>dir (typicallyic_launcher.webpfrom the Android Studio wizard) that collide with the generated.pngof the same stem and fail AAPT2's merge.on first contact only, any existing file at a path the current installer will claim, including Android Studio's adaptive-icon XML wrappers and same-name PNGs. Once an ownership manifest exists, current managed outputs are preserved and only the sync task may validate or replace them.
This task never assumes a familiar filename implies plugin ownership. Every candidate is copied to a checksummed durable .kitessot/recovery backup and recorded in a provenance manifest before the original is removed. Honors dryRun (lists what it would migrate, writes/removes nothing).