If an application is terminated by 3rd party when app is visible,
black screen or abnormal last frame can be observerable for a moment.
So, this patch will hide the window early while closing window.
Change-Id: Ied14bdd3f40891c9695b1ef89250f4bd7010d8f1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
void WRTNativeWindowTV::CloseImmediately() {
if (is_main_native_window_) {
+ if ("visible" == visibility_state_) {
+ LOG(INFO) << "window will be lower before close";
+ LowerWindow();
+ }
#if defined(TIZEN_PEPPER_EXTENSIONS)
UnregisterPepperExtensionDelegate();
#endif