Repository navigation
Commit 8477e59
fix(radio): honour the "enable radio" switch when tuning
The switch added in 2.1.0 only governed the wait/play rows the editor
appends after the tune action; the tune itself went through
SaicRadio.tune, which called the vendor's srcPlayRadio every time, so the
radio took over the speakers with the switch off.
EVHardware 1.1.0 splits tuning from playback, and the executor now starts
playback only when Action.flag is set. The check lives in the executor
rather than only in ActionBundles because rules saved before 2.1.0 carry
the flag but no wait/play rows; playing twice for rules that do have them
is a no-op, the source is already the radio.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 101dec1 commit 8477e59
4 files changed
Lines changed: 22 additions & 4 deletions
File tree
- app
- src/main/java/com/evsuite/tasker/vehicle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
7 | 20 | | |
8 | 21 | | |
9 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
188 | | - | |
| 193 | + | |
189 | 194 | | |
190 | 195 | | |
191 | 196 | | |
| |||
0 commit comments