From 278b0e2cc34b5e243b9e4a9e2a7bd50b5679345f Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 23 Mar 2022 12:58:49 +0100 Subject: html5-homescreen: increase wait for attempting to launch homescreen 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 Signed-off-by: Marius Vlad Change-Id: Id46f87b6ac2d49b0a15d5537b8b70d4ac6e62ef5 --- recipes-demo/html5-homescreen/files/homescreen.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-demo/html5-homescreen/files') diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service index 20ed2ee13..80bc44ee6 100644 --- a/recipes-demo/html5-homescreen/files/homescreen.service +++ b/recipes-demo/html5-homescreen/files/homescreen.service @@ -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 -- cgit 1.2.3-korg