Commit e94c739
fix(audio): show intensity profile for sound-only alerts; enforce TTS min volume
- CommonAlertSettings: intensity profile (SOFT/STEADY/STRONG/ESCALATING)
was hidden behind vibration toggle; now shown whenever sound OR vibration
is enabled, since it controls both sound ceiling and haptic amplitude.
Label changed from "Haptics" to "Intensity" to reflect dual role.
- Talker: add ensureMinStreamVolume() called before every engine.speak().
If the active stream (notification/media/alarm) is below 25% of its max,
it is raised to that floor before speaking. Prevents spoken readings from
going silent when the user sets media volume to zero.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 200b786 commit e94c739
2 files changed
Lines changed: 30 additions & 2 deletions
File tree
- Common/src
- main/java/tk/glucodata
- mobile/java/tk/glucodata/ui/alerts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
482 | 509 | | |
483 | 510 | | |
484 | 511 | | |
| 512 | + | |
485 | 513 | | |
486 | 514 | | |
487 | 515 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments