launcher: rely on applaunchd for application startup 58/26958/3 12.91.0 marlin/12.91.0 marlin_12.91.0
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Fri, 10 Dec 2021 11:44:27 +0000 (12:44 +0100)
committerArnaud Ferraris <arnaud.ferraris@collabora.com>
Mon, 20 Dec 2021 20:08:46 +0000 (21:08 +0100)
commit9495545c38d5e72014cba05f8ea79c98ed3321a1
tree51a4fcd709e772c4ed824ed9757c17d3463ef4f2
parent20cd96660d4bfb44e0be5695f71a92d5fb53a143
launcher: rely on applaunchd for application startup

In the new App FW setup, `launcher` should only instruct `applaunchd` to
execute an application. In order to do so, it must first build a list of
available applications by looking for and parsing `.desktop` files in
relevant folders.

Then, when an application must be started, it has to call the
corresponding `applaunchd` method through D-Bus, which will then handle
the application startup using either command line execution or D-Bus
activation.

Bug-AGL: SPEC-4159 SPEC-4160
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: Ie2f55a5acb64ed90aa6aafb687c927d87f6cc0aa
launcher/launcher.pro
launcher/qml/IconItem.qml
launcher/qml/Launcher.qml
launcher/src/applicationmodel.cpp
launcher/src/homescreenhandler.cpp
launcher/src/homescreenhandler.h