From: jaekuk, lee Date: Tue, 17 Nov 2020 08:52:55 +0000 (+0900) Subject: Don't display splash screen in background mode X-Git-Tag: submit/tizen_6.0/20201126.111807^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dfebb7f7954472bc99db36330b7a1251548559e;p=platform%2Fframework%2Fweb%2Fwrtjs.git Don't display splash screen in background mode When launching app in backgroundAtStartup launchMode, prevent splash screen from being displayed. Change-Id: I416fce778e5a001df5a6da855959c88d42ac19f4 Signed-off-by: jaekuk, lee --- diff --git a/wrt_app/src/web_application.ts b/wrt_app/src/web_application.ts old mode 100644 new mode 100755 index 430a5939..88882898 --- a/wrt_app/src/web_application.ts +++ b/wrt_app/src/web_application.ts @@ -285,7 +285,7 @@ export class WebApplication { this.suspended = false; if (this.showTimer) clearTimeout(this.showTimer); - let splashShown = firstLaunch && wrt.showSplashScreen(); + let splashShown = this.preloadStatus !== 'preload' && firstLaunch && wrt.showSplashScreen(); if (!splashShown && !wrt.tv) { this.showTimer = setTimeout(() => { if (!this.suspended) {