From: Marius Vlad Date: Wed, 29 Dec 2021 11:38:21 +0000 (+0200) Subject: homescreenhandler: Set the application currently app running X-Git-Tag: 12.92.0~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8fb557550d4d3a7b799134af672f499531cc407e;p=apps%2Fhomescreen.git homescreenhandler: Set the application currently app running Bug-AGL: SPEC-4202 Signed-off-by: Marius Vlad Change-Id: Ifba64095536cee149ed80d94a42abeefdcdd16f4 --- diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp index ee8d614..d5e46fa 100644 --- a/homescreen/src/homescreenhandler.cpp +++ b/homescreen/src/homescreenhandler.cpp @@ -131,11 +131,11 @@ void HomescreenHandler::tapShortcut(QString application_id) // require calling 'agl_shell_activate_app' agl_shell_activate_app(agl_shell, application_id.toStdString().c_str(), output); - if (mp_launcher) { - mp_launcher->setCurrent(application_id); - } #endif + if (mp_launcher) { + mp_launcher->setCurrent(application_id); + } appStarted(application_id); }