diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-03-08 11:40:09 +0100 |
---|---|---|
committer | ronan Le Martret <ronan@iot.bzh> | 2017-03-09 14:54:00 +0000 |
commit | 76a5099fd92984aa4e64b8f87549be1f21dcdec3 (patch) | |
tree | 4aa90281066c487faceb394cd3fa92998371b091 | |
parent | bd0cb09475b3456ddaf86b67b6f7f9f0015520d5 (diff) |
Fixed homescreen startup
* homescreen must start only when
WindowManager is ready.
[SPEC-470]
Change-Id: Ie755b5c0bda3b5f0937c41cc6d08bc7f0f494d00
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r-- | homescreen/conf/HomeScreen.service | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/homescreen/conf/HomeScreen.service b/homescreen/conf/HomeScreen.service index 59843e3..c848100 100644 --- a/homescreen/conf/HomeScreen.service +++ b/homescreen/conf/HomeScreen.service @@ -1,19 +1,18 @@ [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 -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 -RestartSec=1 +RestartSec=5 [Install] WantedBy=default.target |