[VD]Show window for preload app in deeplink scenario 51/272151/1 submit/tizen/20220310.160027
authorzhaosy <shiyusy.zhao@samsung.com>
Thu, 10 Mar 2022 06:53:55 +0000 (14:53 +0800)
committerzhaosy <shiyusy.zhao@samsung.com>
Thu, 10 Mar 2022 07:05:09 +0000 (15:05 +0800)
If app is preload, and then deeplink launch it, doesn't
call show window, so app is not showing in foreground.

Change-Id: I0c1f9eeacc06cbbc0b6332077167540185164c36
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt_app/src/tv/web_application_tv.ts

index ca8a5d0..65e7499 100644 (file)
@@ -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');