Now, to enhance launch speed of web app, DA calls 'mainWindow.show'.
But because of this, 'ready-to-show' is now emitted from electron,
and this makes malfunction after pause/resume.
So, emit 'ready-to-show' to enhance launch speed, not call 'mainwindow.show'.
Change-Id: I103b1a4fc8f89ebe8b748f43f45f7979ef9377ef
Signed-off-by: jihwankim <jh_marc.kim@samsung.com>
this.webApplication.mainWindow.loadURL(src);
this.webApplication.prelaunch(src);
if (wrt.da) {
- this.webApplication.show();
+ this.webApplication.mainWindow.emit('ready-to-show');
}
} else {
console.log('Handling app-control event');