Repository navigation
Trim TouchRecovery to the + menu, its only owner - #146
Merged
Merged
Conversation
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.
Closed
This branch was previously deployed
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.
TouchRecoverystill 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'stouched()call stays.Removed: the unused
OwnerandReasoncases,Fault.grace/Grace/startedAt, the wall-clock branch insample, andexpediteonTouchRecovery, its sampler andTouchRecoveryClient. 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.mdanddocs/parity/devtools.mdupdated.Verified: grepped
src/mainandsrc/testin every module;vm.sh check(all modules) passes.