Revert "Set surface owner for watch ANR" 00/202300/2
authorHyunho Kang <hhstark.kang@samsung.com>
Wed, 27 Mar 2019 02:07:04 +0000 (02:07 +0000)
committerHyunho Kang <hhstark.kang@samsung.com>
Wed, 27 Mar 2019 02:09:24 +0000 (02:09 +0000)
This reverts commit 9ad4b884a112a39c9a499df77bc9588ccd9a9318.

Change-Id: Ifed3928c002b4f0064f27abbd5adf3a623fae4a3

screen_connector_remote_surface_evas/remote_surface_evas.cc

index 2f13748..095fcb1 100644 (file)
@@ -485,8 +485,7 @@ void RemoteSurfaceEvas::OnBufferChanged(int type, std::shared_ptr<WlBuffer> tbm,
     } else {
       unsigned int win_id = ecore_wl2_window_id_get(wlWin);
       impl_->winVisibility_map_[win_id] = GetVisibility(win_id);
-      if (impl_->parent_->GetType() == RemoteSurface::WIDGET ||
-          impl_->parent_->GetType() == RemoteSurface::WATCH)
+      if (impl_->parent_->GetType() == RemoteSurface::WIDGET)
         impl_->parent_->SetSurfaceOwner(ecore_wl2_window_surface_get(wlWin));
     }
     isAdded = true;