From 9810b16d6bdf35574ec518955838eac98763afd1 Mon Sep 17 00:00:00 2001 From: DongHyun Song Date: Fri, 5 Jun 2020 08:24:58 +0900 Subject: [PATCH] [VD] Fix RWI popup issue while preloading In case of preloading, a user cannot close the guide dialog. So This patch will close the guide dialog automatically with timeout. Change-Id: I8d26f5d273b4ea4da616d458fa21b439f867e450 Signed-off-by: DongHyun Song --- wrt_app/src/web_application.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wrt_app/src/web_application.js b/wrt_app/src/web_application.js index b8cf47f..608ef2e 100644 --- a/wrt_app/src/web_application.js +++ b/wrt_app/src/web_application.js @@ -327,6 +327,12 @@ class WebApplication { "in Timeline panel in PC before click OK button,\r\nThen you can get " + "profile log from the initial loading." wrt.tv.showDialog(this.mainWindow.webContents, message); + + if (this.preloadStatus !== 'none') { + setTimeout(() => { + wrt.tv.cancelDialogs(this.mainWindow.webContents); + }, 5000); + } } suspend() { console.log('WebApplication : suspend'); -- 2.7.4