Merge "homescreen/homescreen.pro: Bump protocol requirements"
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 11 Jan 2022 22:26:35 +0000 (22:26 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Tue, 11 Jan 2022 22:26:35 +0000 (22:26 +0000)
homescreen/src/homescreenhandler.cpp

index ee8d614..d5e46fa 100644 (file)
@@ -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);
 }