Rework to use launcher wrapper from libqtappfw 27/27927/1 needlefish
authorScott Murray <scott.murray@konsulko.com>
Sat, 10 Sep 2022 16:59:02 +0000 (12:59 -0400)
committerScott Murray <scott.murray@konsulko.com>
Wed, 21 Sep 2022 14:34:27 +0000 (14:34 +0000)
commit7ffab2f5720cb4cc831612cfe678ab8f9b00a62d
tree3e2f916a1a0339f4a43af6e9cac0b44458172e33
parent9211557c88a1f49149e2b905872e61d8c9b2c413
Rework to use launcher wrapper from libqtappfw

Changes:
- Switch to using the new app launcher API wrapper from libqtappfw
  in order to migrate to the new gRPC based API implementation.
- The appStarted and appTerminated methods in HomescreenHandler have
  been renamed to activateApp and deactivateApp, respectively, to
  better reflect what they do.  A new processAppStatusEvent method
  had been added that calls them as appropriate based on the event
  from the AppLauncherClient status update signal.
- The copyright headers in the source files have been tweaked to
  remove the Apache license boilerplate in favour of a SPDX license
  tag.
- The code in main.cpp that was not formatted with Linux-style has
  been reformatted to match the rest of the file.

Bug-AGL: SPEC-4559

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I236cb6a412945a6df7d35652c55f664264964f9c
(cherry picked from commit 20f629dd6d8628611d950073c4f7a0446c40365a)
homescreen/homescreen.pro
homescreen/src/homescreenhandler.cpp
homescreen/src/homescreenhandler.h
homescreen/src/main.cpp