From c8ef2f816e6bae93c8bbf5bfa3e4119f4317be8d Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Tue, 1 Mar 2022 17:13:36 +0100 Subject: Delay launching launcher Homescreen is now responsible for launching background and launcher web applications. Due to the known problem that the internal IPC does not support launching two applications at the same time, it would end up failing because of launching both. Solution is delaying launching of launcher after background. Bug-AGL: SPEC-4250 Signed-off-by: Jose Dapena Paz Change-Id: Ia9af1325f1c131f1c11739793a7c57b6dba0f2ba --- src/js/apps.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/apps.js b/src/js/apps.js index e3e0158..d7b1201 100644 --- a/src/js/apps.js +++ b/src/js/apps.js @@ -31,7 +31,9 @@ function load_application_list() { }); if( app.id === configjson.launch ) { - navigator.appService.start(internalApp[0]); + setTimeout(function() { + navigator.appService.start(internalApp[0]); + }, 1000); } } -- cgit 1.2.3-korg