html5-homescreen: increase wait for attempting to launch homescreen 02/27302/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 23 Mar 2022 11:58:49 +0000 (12:58 +0100)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 24 Mar 2022 17:22:01 +0000 (19:22 +0200)
Reduce chances to fail initialization of HTML5-based UI on boot,
because of trying to launch homescreen while WAM is still not ready
to create applications.

This is a workaround. The right fix will be making WAM actually wait
for processing IPC messages while it is not ready to launch first
application, and making homescreen wait for the initialization of
host service.

Bug-AGL: SPEC-4289
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id46f87b6ac2d49b0a15d5537b8b70d4ac6e62ef5

recipes-demo/html5-homescreen/files/homescreen.service

index 20ed2ee..80bc44e 100644 (file)
@@ -7,7 +7,7 @@ After=WebAppMgr.service dbus.service
 Type=simple
 Environment=AFM_ID=homescreen
 Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/
-ExecStartPre=sleep 1
+ExecStartPre=sleep 5
 ExecStart=/usr/bin/WebAppMgr
 Restart=on-failure