Repository navigation
fix(session): listen for Raise to Talk only on the screen in front - #93
Merged
Merged
Conversation
Tarquinen
force-pushed
the
port-warmup
branch
from
November 15, 2026 06:32
1e17590 to
065286f
Compare
Tarquinen
force-pushed
the
port-raise
branch
from
November 15, 2026 06:42
b4d4dab to
471c2d0
Compare
Tarquinen
force-pushed
the
port-raise
branch
from
November 15, 2026 23:29
471c2d0 to
521e8f4
Compare
Tarquinen
force-pushed
the
port-warmup
branch
from
November 16, 2026 00:48
065286f to
ff8e161
Compare
Tarquinen
force-pushed
the
port-raise
branch
from
November 16, 2026 00:48
521e8f4 to
20ec4fd
Compare
A parent screen covered by a subagent stays RESUMED, so both screens ran the proximity monitor and one raise reached the hidden screen too. Raise to Talk now listens only on the front screen (or on a call's own screen), and a covered screen ignores RaisedToEar. iOS c056c55c. Ports aCoveredScreenStartsNoCallFromTheEar (fails without the reducer guard). Verified: vm.sh check :feature:session; on the emulator with a subagent open over its parent, one proximity change: before, 2 RaiseToEarDetector sensor connections and 2 "Call trigger: Raise to Talk" lines 7-18 ms apart; after, 1 and 1. The parent alone still triggers once after the subagent is closed.
Tarquinen
force-pushed
the
port-raise
branch
from
November 16, 2026 00:54
20ec4fd to
e40dad5
Compare
Merged
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.
With a subagent open, the parent screen underneath stays resumed, so both screens listened for Raise to Talk and one raise could start a call twice, or on the hidden screen. Now only the screen in front listens (or the screen that owns the call), and a covered screen ignores a raise.
iOS: c056c55c
Verified on the emulator, subagent open over its parent, proximity set through the emulator console:
dev: 2RaiseToEarDetectorsensor connections, and one proximity change logs "Call trigger: Raise to Talk" twice, 7–18 ms apart.scripts/check.sh :feature:sessionpasses.