aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app.cpp4
-rw-r--r--src/app.hpp7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/app.cpp b/src/app.cpp
index b6160d2..1802c33 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -860,10 +860,6 @@ void App::api_activate_surface(char const *appid, char const *drawing_name, char
auto client = app_list.lookUpClient(id);
- // test
- HMI_DEBUG("wm", "test");
- client->emitError(WM_CLIENT_ERROR_EVENT::UNKNOWN_ERROR);
-
/*
* Queueing Phase
*/
diff --git a/src/app.hpp b/src/app.hpp
index 4d079c1..25a72cb 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -158,7 +158,9 @@ struct App
Event_SyncDraw,
Event_FlushDraw,
- Event_Val_Max = Event_FlushDraw,
+ Event_Error,
+
+ Event_Val_Max = Event_Error,
};
const std::vector<const char *> kListEventName{
@@ -167,7 +169,8 @@ struct App
"visible",
"invisible",
"syncdraw",
- "flushdraw"};
+ "flushdraw",
+ "error"};
struct controller_hooks chooks;