From: zhaosy Date: Wed, 9 Mar 2022 08:46:28 +0000 (+0800) Subject: [VD]Show window for preload app in deeplink scenario X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5d944b8134a4a502799cc87fe499916eda0d4df;p=platform%2Fframework%2Fweb%2Fwrtjs.git [VD]Show window for preload app in deeplink scenario If app is preload, and then deeplink launch it, doesn't call show window, so app is not showing in foreground. Change-Id: Ib5bfd9e8ba1c9de97a817163f81148622000228c Signed-off-by: zhaosy --- diff --git a/wrt_app/src/tv/web_application_tv.ts b/wrt_app/src/tv/web_application_tv.ts index eeaaae5e..0ef634b8 100644 --- a/wrt_app/src/tv/web_application_tv.ts +++ b/wrt_app/src/tv/web_application_tv.ts @@ -231,6 +231,9 @@ Then you can get profile log from the initial loading.`; this.webApplication.sendAppControlEvent(); return false; } else { + if (!this.webApplication.mainWindow.isVisible()) + this.webApplication.show(); + let skipReload = appControl.getData('SkipReload'); if (skipReload == 'Yes') { console.log('skipping reload');