Skip to content

ADFA-5192 refactor(install): retire the dead companion install leg - #436

Merged
luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5192-retire-companion-leg
Aug 19, 2026
Merged

ADFA-5192 refactor(install): retire the dead companion install leg#436
luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5192-retire-companion-leg

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Retires the companion install leg in InstallService, dead since ADFA-5192 Step 2
removed InstallController (the only caller that set EXTRA_COMPANION=true). Behaviour-
preserving: companionData was already always false, so the two if (companionData)…
guards already took the finishSuccess() branch — this just makes that literal.

Removed

  • Methods: startCompanionData, downloadAndIndexKiwix, addZimViaLiveChannel,
    runMapsAnsible, editLocalVarsForMaps.
  • Inputs that only fed the leg: EXTRA_COMPANION/companionData, EXTRA_KIWIX_LANG/VARIANT
    (no setter existed), EXTRA_SKIP_MAPS/skipMaps (read only by runMapsAnsible),
    restContentClient (+ its now-inert cancel guard), two unused imports.
  • SetupLibraryActivity: the two now-dead putExtra calls (EXTRA_COMPANION, EXTRA_SKIP_MAPS).

Closes the ADFA-5144 leg

This was the only path that could report a failed ZIM download/index as a SUCCESSFUL
install. It is gone; the modern wizard banks content honestly through the live channel.

Verification

No references to any removed symbol remain. Fresh install / module install / reinstall
paths are unchanged (companionData was already always false). Build green + device smoke.

@luisguzman-adfa
luisguzman-adfa merged commit f161543 into main Aug 19, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the refactor/ADFA-5192-retire-companion-leg branch August 19, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant