MCPcopy Create free account
hub / github.com/comaps/comaps / OnPowerSchemeChanged

Method OnPowerSchemeChanged

libs/map/framework.cpp:3361–3365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3359}
3360
3361void Framework::OnPowerSchemeChanged(power_management::Scheme const actualScheme)
3362{
3363 if (actualScheme == power_management::Scheme::EconomyMaximum && GetTrafficManager().IsEnabled())
3364 GetTrafficManager().SetEnabled(false);
3365}
3366
3367void Framework::SetCarScreenMode(bool enabled)
3368{

Callers

nothing calls this directly

Calls 2

IsEnabledMethod · 0.45
SetEnabledMethod · 0.45

Tested by

no test coverage detected