Skip to content

v3.6.24

Choose a tag to compare

@vancedto vancedto released this 26 Oct 10:27
· 1 commit to main since this release

ReVanced Manager 3.6.24: patch-only updates, UI/UX fixes, debug log tools
Patch-only updates (same app version, newer patches)
Providers on updateMode: patches (morphe, revanced-rebrand, anddea)
rebuild an app when only its patches change. The manager compared
versionName alone, so it never offered those builds: a YouTube
installed on patches 1.39 stayed there until YouTube itself moved.

  • Add PatchUpdate.hasNewerPatch(): for an installed build whose
    versionName equals the catalog's, it is an update when
    (a) this manager's own install record has an older patch version, or
    (b) with no valid record, the APK was installed more than 2 h
    (PUBLISH_MARGIN_MS) before the current build's updatedAt.
  • Add InstalledBuildStore: per-package InstalledBuildRecord
    (versionName, patchVersion, lastUpdateTime) as one JSON object in
    SharedPreferences, cached in memory. It is written only from our
    own PackageInstaller success result and only when the installed
    version matches the owner entry's build. A record goes stale as soon
    as lastUpdateTime changes (any other installer).
  • PackageOwnership.withInstalledBuilds()/statusFor() now go through
    InstalledBuild (versionName + lastUpdateTime) and the patch check.
    The repository, the bloc and the install-result path all use them,
    and GetAppsUseCase no longer overrides the repository's status.
  • RevancedApp gains patchVersion and a derived isPatchUpdate; variants
    carry patchVersion/cliVersion from the v3 catalog mapper.
  • UI: a "New patch: x" badge on the card, a "Patches: x" line on the
    detail screen and variants, a patch label in the update prompt and
    the update notification. Add a Settings switch "Updates with newer
    patches" (on by default); toggling it recomputes all statuses.
  • UpdateCheckWorker: a patch-only update now includes its patch
    version in the notification signature, so a newer patch of an
    already announced version still notifies. App-version updates keep
    the old signature, so upgrading does not re-announce them.
  • Add PatchUpdateTest; extend AppMapperV3Test for patch/cli versions.

UI/UX fixes (store comparison review)

  • Theme: action button colors follow the in-app theme
    (LocalDarkTheme) instead of isSystemInDarkTheme(), which was wrong
    with Light in-app on a dark-mode phone. The loading screen uses the
    stored theme, and the AppConfig default matches storage (DARK).
  • The top-bar Refresh now takes the pull-to-refresh path, so the list,
    search, filter, sort and open dialog survive a refresh.
  • Persist the list filter and sort across launches (the PROCESSING
    filter is never restored).
  • Locale: use Locale.forLanguageTag so es-ES/es-PE reach their own
    values-es-rES/values-es-rPE folders instead of falling back to
    values-es; use BCP-47 tags in locales_config and add ar and cs.
  • Move count strings to (updates banner, update prompt,
    update notification title, "Updating N apps", "Cleared N APK files").
  • AppIcon: a neutral tile while loading and an Android glyph on error
    (was a Download arrow); a plain AsyncImage instead of a per-row
    subcomposition.
  • Accessibility: content descriptions for status icons ("Up to date",
    "Update available", "Queued for install"), button roles, and a click
    label for copy-package.
  • Android TV: Open falls back to the leanback launch intent (TV-only
    apps such as SmartTube had no launcher intent); add a launcher
    banner and declare android.software.leanback (not required).
  • Remove the dead CustomToast and AppUiState.

Debug logs

  • The Debug Logs dialog gets "Copy" (clipboard) and "Save as file"
    (SAF CreateDocument, full latest log,
    revanced-manager-debug-.log, no storage permission).
  • Remove the Share button and the share-sheet code, along with the
    FileProvider debug_logs paths and their strings.
  • Write a session header when capture starts and on day rollover:
    app version/code, debuggable flag, device, Android/SDK/ROM, ABIs,
    locale.
  • Record uncaught exceptions synchronously into the log through a
    chained default UncaughtExceptionHandler.
  • Replace HttpLoggingInterceptor (headers, debug builds only) with a
    one-line-per-request log that also runs in release builds: method,
    redacted host+path, status, ms, cached flag. Headers and bodies are
    never logged.
  • Log readable PackageInstaller status names, plus the installed
    version and installer at install start.