feat(ios): add background listening core toggle#18261
Conversation
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
Co-authored-by: Mariano Belinky <[email protected]>
Intent
Ship Slice 2 only: background listening core for iOS Talk Mode, with minimal lifecycle changes and no broader audio pipeline refactor.
Changes
Background Listeningtoggle in Settings > Device > Features (talk.background.enabled)Scope Guardrails
voipentitlement changes in this sliceAttribution
Validation
pnpm checkNotes
Greptile Summary
Added a conservative Background Listening toggle for iOS Talk Mode that allows the microphone to remain active when the app is backgrounded. The implementation correctly checks both the user preference (
talk.background.enabled) and the current Talk Mode state before keeping listening active. State is properly tracked through the background/foreground cycle with the newbackgroundTalkKeptActiveflag, ensuring Talk Mode doesn't unnecessarily restart when it was intentionally kept running. The feature is off by default for battery conservation and has appropriate UI messaging about battery usage.Confidence Score: 5/5
Last reviewed commit: d7cf7b8