OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
apps.carUi.car_ui_startup Namespace Reference

Car UI startup policy and dependency initialization. More...

Functions

tuple[Path, Path] resolve_config_paths ()
 Return Car UI runtime and application configuration profiles.
bool car_ui_splash_enabled ()
 Return whether the startup splash should be used.
CarUiDependencies build_car_ui_dependencies (StartupStatusCallback report)
 Construct resources owned by Car UI; telemetry producers live elsewhere.

Detailed Description

Car UI startup policy and dependency initialization.

Function Documentation

◆ car_ui_splash_enabled()

bool apps.carUi.car_ui_startup.car_ui_splash_enabled ( )

Return whether the startup splash should be used.

Termux defaults the splash off because creating a splash Tk root and then a second application Tk root can leave Tcl image/interpreter resources with unsafe destruction ordering on Android/Termux Python builds. CARUI_SPLASH remains an explicit override on every platform.

◆ resolve_config_paths()

tuple[Path, Path] apps.carUi.car_ui_startup.resolve_config_paths ( )

Return Car UI runtime and application configuration profiles.

Car UI uses the shared runtime profile on every platform unless explicitly overridden. Termux selects a platform-specific applications profile because presentation targets differ there. runtime.termux.toml remains an explicit Android sensor/navigation service profile rather than a Car UI composition profile.