aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 762981f..3a60b94 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -699,22 +699,6 @@ void on_event(const char *event, struct json_object *object){
}
});
}
- else if (g_afb_instance->lcc_.isChangedCarState()) {
- // If car state is changed
- HMI_DEBUG("wm", "Car state is changed");
-
- // Get car state
- const char* car_state = g_afb_instance->lcc_.getCurrentCarState();
-
- // Allocate window resource
- g_afb_instance->app.allocateWindowResource(car_state, nullptr,
- nullptr, nullptr,
- [](const char* errmsg){
- if (errmsg != nullptr) {
- HMI_ERROR("wm", errmsg);
- }
- });
- }
else if (g_afb_instance->lcc_.isChangedLampState()) {
// If lamp state is changed
HMI_DEBUG("wm", "Lamp state is changed");