ADFA-4984: revive OTA self-update + split manifest/binary to k2go-download - #320
Merged
Conversation
…download - UpdateController: point the manifest and APK base URLs to k2go-download; the install stays gated by same-certificate signature verification (no hash needed). - LibraryActivity: own the UpdateController (silent auto-check per launch, download receiver lifecycle) and expose it to the About screen. - Settings > About: add a "Check for updates" entry. - CI (tag workflow): build update.json from the top ota-release-notes.md entry and the built APK filenames, uploaded after the APKs (fixed key -> always latest). - Add ota-release-notes.md (minimal editorial OTA notes) and ota-migration-bridge.md (one-time cutover runbook for installs on the old host).
… file convention)
…check, CI apk guard) - UpdateController: skip the "update available" dialog if the Activity is finishing/ destroyed, since the check returns async (avoids BadTokenException). - LibraryActivity: defer the one-per-launch auto-check until the boot gate opens (onServerReady) so the dialog never lands over the gate; still runs at most once. - CI: fail the update.json step early if any ABI APK is missing, instead of publishing an incomplete manifest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Revives the in-app OTA updater and decouples its two fixed URLs.
UpdateController: manifest + APK base URLs → k2go-download. Install stays gated by same-certificate signature verification (no hash needed).
LibraryActivity owns the UpdateController (silent auto-check per launch + download-receiver lifecycle); Settings → About gets a "Check for updates" entry.
Tag CI workflow builds update.json from the top ota-release-notes.md entry + the built APK filenames, uploaded after the APKs (fixed key → always latest).
Adds ota-release-notes.md (minimal editorial notes) and ota-migration-bridge.md (one-time cutover runbook).
Publishing stays tag-only; nothing hits R2 until a v* tag.