Commit 80e0c19
committed
Do not launch WebRtcServer when GpuMode::None
When instance.gpu_mode() is GpuMode::None (headless mode), ScreenConnector
explicitly rejects initialization and aborts process execution with:
LOG(FATAL) << "Invalid gpu mode: none".
Commit 63c9518 ("Remove the start_webrtc flag behavior") inadvertently
caused WebRtcServer to launch even when `start_webrtc` is explicitly set
to `false` on sdv_core targets. To fix this issue, let's skip enabling
WebRtcServer whenever instance_.gpu_mode() == GpuMode::None.
Bug: b/5322030751 parent 861d6fc commit 80e0c19
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments