Skip to content

Trim TouchRecovery to the + menu, its only owner - #146

Merged
Tarquinen merged 1 commit into
devfrom
touch-recovery-owners
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
touch-recovery-owners

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

TouchRecovery still had owners, reasons and an expedite path for the drawer, transcript and zoom. Those callers were removed earlier, so this deletes them. The + menu (Owner.PlusMenu, Reason.Closed) is now the only owner. MainActivity's touched() call stays.

Removed: the unused Owner and Reason cases, Fault.grace/Grace/startedAt, the wall-clock branch in sample, and expedite on TouchRecovery, its sampler and TouchRecoveryClient. Nothing outside tests called any of them. The + menu always used the default grace, so its watchdog works exactly as before.

Tests: dropped the expedite test. The rest now use the + menu owner. docs/parity/core.md and docs/parity/devtools.md updated.

Verified: grepped src/main and src/test in every module; vm.sh check (all modules) passes.

The + menu is the only TouchRecovery owner left, and it only reports a closed
menu with the default grace. The other owners and reasons, Fault.Grace.Wall,
Fault.startedAt and expedite (on the recovery, the sampler and the client) had
no callers outside their own tests. The sampler, backoff and touch-down arming
the + menu relies on are unchanged, and the log line keeps trigger=grace.
The tests that covered live behaviour now use the plus_menu owner; the
dead-drag test is gone with expedite.
@Tarquinen
Tarquinen merged commit 2294397 into dev Nov 18, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — db619ce3 Deployed Nov 18, 2026 by Tarquinen via check #478
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