* homescreen must start only when
WindowManager is ready.
[SPEC-470]
Change-Id: Ie755b5c0bda3b5f0937c41cc6d08bc7f0f494d00
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
[Unit]
Description=AGL reference HomeScreen
Requires=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
[Unit]
Description=AGL reference HomeScreen
Requires=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
-After=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
+After=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service WindowManager.service
ConditionKernelCommandLine=!agl.nogfx
[Service]
User=root
Type=dbus
BusName=org.agl.homescreen
ConditionKernelCommandLine=!agl.nogfx
[Service]
User=root
Type=dbus
BusName=org.agl.homescreen
-ExecStartPre=/bin/systemctl --user is-active WindowManager
ExecStart=/usr/AGL/homescreen/HomeScreen
# 4194304(= 1 << 22) is special surface id for HomeScreen
Environment=QT_IVI_SURFACE_ID=4194304 QT_WAYLAND_SHELL_INTEGRATION=ivi-shell LD_PRELOAD=/usr/lib/libEGL.so.1
Restart=on-failure
ExecStart=/usr/AGL/homescreen/HomeScreen
# 4194304(= 1 << 22) is special surface id for HomeScreen
Environment=QT_IVI_SURFACE_ID=4194304 QT_WAYLAND_SHELL_INTEGRATION=ivi-shell LD_PRELOAD=/usr/lib/libEGL.so.1
Restart=on-failure
[Install]
WantedBy=default.target
[Install]
WantedBy=default.target