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 <dh81.song@samsung.com>
"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');