Commit f9bf5f5
fix(android): keep stale PTT from restarting capture (#100552)
* fix(android): serialize background PTT lifecycle
Follow-up hardening for #99840 after the initial fix landed in #100483.
Co-authored-by: xialonglee <[email protected]>
* docs(changelog): note Android PTT lifecycle hardening
* fix(android): order PTT ownership transitions
* test(android): opt in to coroutine scheduler API
* fix(android): serialize voice capture ownership
* test(android): drive PTT ordering with test dispatcher
* test(android): isolate PTT ordering preferences
* test(android): control PTT invoke dispatchers
* test(android): isolate PTT coroutine dispatchers
* test(android): use current Robolectric resolver API
* test(android): register speech service without deprecated APIs
* test(android): control stale PTT cleanup dispatch
* test(android): isolate voice mode reassertion
* fix(android): clean voice capture on permission loss
* fix(android): invalidate PTT before cancel wait
* test(android): preserve starts queued after cancel
* fix(android): keep one-shot PTT retries idempotent
---------
Co-authored-by: xialonglee <[email protected]>1 parent 62d9576 commit f9bf5f5
6 files changed
Lines changed: 856 additions & 207 deletions
File tree
- apps
- .i18n
- android/app/src
- main/java/ai/openclaw/app
- voice
- test/java/ai/openclaw/app
- voice
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
5707 | 5707 | | |
5708 | 5708 | | |
5709 | 5709 | | |
5710 | | - | |
| 5710 | + | |
5711 | 5711 | | |
5712 | 5712 | | |
5713 | 5713 | | |
5714 | 5714 | | |
5715 | 5715 | | |
5716 | 5716 | | |
5717 | 5717 | | |
5718 | | - | |
| 5718 | + | |
5719 | 5719 | | |
5720 | 5720 | | |
5721 | 5721 | | |
5722 | 5722 | | |
5723 | 5723 | | |
5724 | 5724 | | |
5725 | 5725 | | |
5726 | | - | |
| 5726 | + | |
5727 | 5727 | | |
5728 | 5728 | | |
5729 | 5729 | | |
5730 | 5730 | | |
5731 | 5731 | | |
5732 | 5732 | | |
5733 | 5733 | | |
5734 | | - | |
| 5734 | + | |
5735 | 5735 | | |
5736 | 5736 | | |
5737 | 5737 | | |
5738 | 5738 | | |
5739 | 5739 | | |
5740 | 5740 | | |
5741 | 5741 | | |
5742 | | - | |
| 5742 | + | |
5743 | 5743 | | |
5744 | 5744 | | |
5745 | 5745 | | |
5746 | 5746 | | |
5747 | 5747 | | |
5748 | 5748 | | |
5749 | 5749 | | |
5750 | | - | |
| 5750 | + | |
5751 | 5751 | | |
5752 | 5752 | | |
5753 | 5753 | | |
5754 | 5754 | | |
5755 | 5755 | | |
5756 | 5756 | | |
5757 | 5757 | | |
5758 | | - | |
| 5758 | + | |
5759 | 5759 | | |
5760 | 5760 | | |
5761 | 5761 | | |
| |||
0 commit comments