handleAppControlEvent(appControl: any) {
this.launchMode = appControl.getData('http://samsung.com/appcontrol/data/launch_mode');
this.preloadStatus = 'none';
+ let resumeWithAppControl = appControl.getData('ResumeWithAppControl');
if (this.launchMode === 'runningAsBackground') {
this.webApplication.suspended = false;
this.webApplication.windowList[this.webApplication.windowList.length - 1].hide();
this.webApplication.sendAppControlEvent();
return false;
- } else if (this.launchMode === 'runningAsForeground') {
+ } else if ((this.launchMode === 'runningAsForeground') || (resumeWithAppControl === 'Yes')) {
this.webApplication.resume();
this.webApplication.sendAppControlEvent();
return false;