From 915e46768613e6c1f1033b8e31efa73f343bee27 Mon Sep 17 00:00:00 2001 From: Youngcheol Kang Date: Fri, 13 Jan 2017 16:07:21 +0900 Subject: [PATCH] Hide the window object during termination of webapp This white screen is shown because the webview is deleted and window object remains. This patch fixes this issue using evas_object_hide() API for preventing the white screen issue during the termination of web application. Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2790 Change-Id: Ie697d4285d957ccc830518e78d3135c3770801c2 Signed-off-by: Youngcheol Kang --- runtime/browser/web_application.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index 5ffaa5c..6830891 100755 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -793,6 +793,11 @@ void WebApplication::OnClosedWebView(WebView* view) { LOGGER(DEBUG) << "plugin_session_count : " << XWalkExtensionRendererController::plugin_session_count; + + // Hide the window object for preventing the white screen + // during termination of web application. + evas_object_hide(window_->evas_object()); + session_counter.application = this; session_counter.timer = ecore_timer_add(SESSION_COUNTER_INTERVAL, CheckPluginSession, &session_counter); -- 2.7.4