diff options
author | Jose Dapena Paz <jdapena@igalia.com> | 2022-03-01 17:13:36 +0100 |
---|---|---|
committer | Jose Dapena Paz <jdapena@igalia.com> | 2022-03-01 18:04:10 +0100 |
commit | c8ef2f816e6bae93c8bbf5bfa3e4119f4317be8d (patch) | |
tree | 4ead978dd1059524da5659a7527c695e2b9cf24a /src/js/apps.js | |
parent | 9eeb65286c9662f8865d629ef854d83a4cb3a6c1 (diff) |
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 <jdapena@igalia.com>
Change-Id: Ia9af1325f1c131f1c11739793a7c57b6dba0f2ba
Diffstat (limited to 'src/js/apps.js')
-rw-r--r-- | src/js/apps.js | 4 |
1 files changed, 3 insertions, 1 deletions
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); } } |