From: Marius Vlad Date: Mon, 21 Feb 2022 18:31:39 +0000 (+0200) Subject: homescreenhandler: Avoid passing an invalid appid X-Git-Tag: 12.93.0^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=c35327b02a28a83536450a664326d183662e89e1;hp=c35327b02a28a83536450a664326d183662e89e1;p=apps%2Fhomescreen.git homescreenhandler: Avoid passing an invalid appid If there's no item added in the QList we'll return an invalid value pointing to some invalid memory, which we can not determine if its empty string or not, so this makes sure we check the list itself. Found when looking at removal/activation of surfaces while re-doing some parts in the compositor. Bug-AGL: SPEC-4263 Signed-off-by: Marius Vlad Change-Id: I912aa5a42a7d21374a389a7f193979f30504a83b ---