Skip to content

Show disabled installed app updates like other apps - #184

Merged
anod merged 2 commits into
masterfrom
show-disabled-app-updates
Oct 17, 2026
Merged

anod merged 2 commits into
masterfrom
show-disabled-app-updates

Conversation

@anod

@anod anod commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Removes the disabled-app list filtering introduced in #167 so installed-but-disabled apps with updates behave like other apps.

Changes

  • AppListFilter.Updatable: disabled apps with updates are included in the New versions tab.
  • WatchListPagingSource.sectionRank / SectionHeaderFactory: disabled updated apps rank and group under New (and recently discovered) like other apps.
  • AppItemState: disabled apps keep the recent/new highlight.

Kept

  • Version text for disabled apps without the "installed → new" arrow.
  • Disabled installed icon.
  • Notifications (already sent for disabled apps since Notify updates for disabled installed apps #173; the Update action stays hidden since the app can't be updated on device).

Testing

  • :app:testDebugUnitTest passes; updated tests that asserted the old filtering behavior.
  • Device verification pending.

Disabled installed apps with updates now appear in the New versions tab and the New section, and keep the recent highlight. Only the version text without upgrade arrow and the disabled installed icon differ.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e2311e25-aadb-4d18-a339-afbfb492178e
Copilot AI balanced review requested due to automatic review settings October 13, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Focused tests do not independently cover the newly ungated update-status and recent-flag paths.

2 open findings
What changed in this PR

Updates disabled installed apps to participate in update and recent-item UI while retaining disabled-specific presentation.

Changes:

  • Includes disabled apps in updatable filtering and update sections.
  • Preserves recent/new highlighting for disabled apps.
  • Updates paging and state tests for the revised behavior.
File Description
AppListFilter.kt Includes disabled installed apps in Updatable results.
WatchListPagingSource.kt Ranks disabled updated/recent apps normally.
SectionHeaderFactory.kt Groups disabled apps into New/Recently Discovered sections.
AppItemState.kt Preserves recent/new indicators when disabled.
WatchListPagingSourceRoomTest.kt Updates paging expectations.
AppItemStateTest.kt Updates disabled-app highlight expectations.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/src/test/java/com/anod/appwatcher/details/AppItemStateTest.kt
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e2311e25-aadb-4d18-a339-afbfb492178e
Copilot AI balanced review requested due to automatic review settings October 17, 2026 09:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused changes consistently implement the intended behavior, with regression coverage and no unresolved findings.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@anod
anod merged commit f3e7a3b into master Oct 17, 2026
5 checks passed
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.

3 participants