Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/mobile (Android)
Steps to reproduce
- Start a countdown in an Android timer app, then return to T3 Code.
- Start dictating into the thread composer with its microphone button.
- Let the timer go off while dictation is still recording, before tapping the checkmark. After dismissing the alert, return to the same thread and check the composer.
A short countdown should be enough to test this. In the incident that prompted this report, I lost about five minutes of dictation. Use a countdown well under five minutes to rule out the separate recording limit.
Expected behavior
If an external interruption stops microphone capture, keep the part already recorded and let me recover it as editable text in the same composer. Keep any existing draft text and wait for me to send it.
Actual behavior
When the timer interrupted the recording, the entire in-progress dictation disappeared. Back in the thread, there was no transcript or way to recover what I had already recorded.
Impact
Major degradation or frequent failure. A brief interruption can erase several minutes of a prompt.
Version or commit
Installed build unknown. Source inspected on upstream main at c16ad0ce179d46c0ae335e6547e81d1cc3522fda.
Environment
Android app. Timer app, Android build and transcription destination were not captured. The timer scenario is from the original incident. The Android lifecycle event it triggered has not been confirmed with a device trace.
Code pointers
- The mobile AppState listener treats
backgroundas an interruption outside the permission prompt. The mobile provider wires it toappMovedToBackground()for both transcription destinations. - The controller sends background events and recorder errors through
interruptRecording(). The discard path aborts transcription and deletes the temporary recording. A background transition during recording is enough to produce the loss. Pressing Home during dictation is a useful control case. - A narrow fix could stop capture on background and finish the existing take for the original draft. The recorder-error path is worth checking separately if a timer can interrupt capture without backgrounding the app.
Related: #37246 mentions an interruption triggered by another app recording, and #42754 tracks the recording time limit. This report is about recovering what was already captured after an external interruption.
Activity