summaryrefslogtreecommitdiffstats
path: root/sample/simple-egl
diff options
context:
space:
mode:
Diffstat (limited to 'sample/simple-egl')
-rw-r--r--sample/simple-egl/src/simple-egl.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/sample/simple-egl/src/simple-egl.cpp b/sample/simple-egl/src/simple-egl.cpp
index 799729b..4271a66 100644
--- a/sample/simple-egl/src/simple-egl.cpp
+++ b/sample/simple-egl/src/simple-egl.cpp
@@ -570,14 +570,8 @@ init_hs(LibHomeScreen* hs){
}
hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [](json_object *object){
- const char *application_name = json_object_get_string(
- json_object_object_get(object, "application_name"));
- HMI_DEBUG("simple-egl","Event_TapShortcut application_name = %s ", application_name);
- if(strcmp(application_name, app_name.c_str()) == 0)
- {
- HMI_DEBUG("simple-egl","try to activesurface %s ", app_name.c_str());
- wm->activateWindow(main_role);
- }
+ HMI_DEBUG("simple-egl","try to activesurface %s ", app_name.c_str());
+ wm->activateWindow(main_role);
});
return 0;