Skip to content

Keep microphone recordings audible when Android is locked - #334

Merged
TobiasRoeddiger merged 1 commit into
automation/bump-version-1.5.4-36858743484from
codex/android-background-audio
Oct 5, 2026
Merged

TobiasRoeddiger merged 1 commit into
automation/bump-version-1.5.4-36858743484from
codex/android-background-audio

Conversation

@TobiasRoeddiger

Copy link
Copy Markdown
Member

Phone microphone recordings become silent after Home or screen lock even though Recorder still shows an active session. record 7 removed its Android background service.

Keep a microphone foreground service active during actual audio recording. Wait for service startup before capture; remove it on stop, startup failure, or activity destruction. Sensor-only sessions and microphone monitoring do not start the service.

Validation:

  • Real Pixel 9a, paired earphones, music and all 16 sensor channels: the previous build saved 25 seconds of complete silence while locked; the patched build saved continuous nonzero audio through background, lock and resume.
  • 135,441 saved sensor rows remain finite and strictly increasing, with the expected rates throughout. No playback underruns during the measured lifecycle window.
  • Service is absent after stopping and during a sensor-only recording, which produces only the 16 CSV files.
  • All 129 Flutter tests, analysis and Android release build pass.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Visit the preview URL for this PR (updated for commit 2352d8d):

https://open-earable-web--pr334-codex-android-backgr-d0vzxsh3.web.app

(expires Mon, 02 Nov 2026 08:53:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c7397c11177c71d8d81172cea9365829823fb41c

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Build Artifacts

Full workflow run: https://github.com/OpenEarable/app/actions/runs/37286128811

@TobiasRoeddiger
TobiasRoeddiger merged commit dde64da into automation/bump-version-1.5.4-36858743484 Oct 5, 2026
9 checks passed
@TobiasRoeddiger
TobiasRoeddiger deleted the codex/android-background-audio branch October 5, 2026 08:59
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