From 261062649a54553c46583232448205f2b885ae87 Mon Sep 17 00:00:00 2001 From: guneet khosla Date: Tue, 28 Aug 2018 14:20:18 +0530 Subject: [PATCH] Set |is_window_inactive| to false when |do_reset| is true. |is_window_inactive| is set to false when |do_reset| is true so as to call window_->Show() and window_->Active() in onRendered().Hence a suspended application is showed and resumed. Change-Id: Id9b0b0c6805a8f3bb5c40c4c7dc0e95d78fc646c Signed-off-by: guneet khosla --- runtime/browser/web_application.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index 8fa104988..cff30b981 100755 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -662,8 +662,11 @@ void WebApplication::AppControl( if (!verbose_mode_ && appcontrol->data(kVerboseKey) == "true") { verbose_mode_ = true; } - if (!do_reset) + if (!do_reset){ window_->Active(); + } else { + is_window_inactive_ = false; + } } void WebApplication::SendAppControlEvent() { -- 2.34.1