From: Marius Vlad Date: Mon, 15 Jan 2024 13:29:24 +0000 (+0200) Subject: homescreenhandler: Fix activation on the default use-case X-Git-Tag: 17.90.0~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fhomescreen.git;a=commitdiff_plain;h=45fe29549378629ef5952a62e12887f007ce89f5 homescreenhandler: Fix activation on the default use-case We seem to be missing one of the branches that searches for a pending output to activate. This is only been seen when setting the application from the start to a different output. Anotehr oversight from gRPC proxy changes. Fixes AglShellGrpcClient: Activate windows with gRPC Bug-AGL: SPEC-5048 Signed-off-by: Marius Vlad Change-Id: I138b47915f5a532c8f7321f04b5e9daa7a63de64 --- diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp index d81e22f..9fd439d 100644 --- a/homescreen/src/homescreenhandler.cpp +++ b/homescreen/src/homescreenhandler.cpp @@ -146,6 +146,8 @@ void HomescreenHandler::activateApp(const QString& app_id) new_remote_output.c_str(), app_id.toStdString().c_str()); default_output_name = new_remote_output; + } else { + default_output_name = output_name.toStdString(); } pending_app_list.erase(iter);