Return result in terminate function 88/226688/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 5 Mar 2020 03:05:55 +0000 (12:05 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Thu, 5 Mar 2020 03:19:49 +0000 (03:19 +0000)
Change-Id: If6e86fe5552d588980b2ecc710ecc644763b4b04
Signed-off-by: hyunho <hhstark.kang@samsung.com>
watch-holder/src/watch.cc
watch-holder/src/watch.hh

index 5746128..0ed3f94 100644 (file)
@@ -69,8 +69,8 @@ void Watch::Pause() {
   RemoteSurfaceEvas::SendVisibility(false);
 }
 
-void Watch::Terminate() {
-  aul_terminate_pid(pid_);
+int Watch::Terminate() {
+  return aul_terminate_pid(pid_);
 }
 
 void Watch::OnAuxMsg(void *data, Evas_Object *o, void *ev_info) {
index f4adb14..6173e8d 100644 (file)
@@ -49,7 +49,7 @@ class EXPORT_API Watch : private screen_connector::RemoteSurfaceEvas,
   void Resume() override;
   void Pause() override;
 
-  void Terminate();
+  int Terminate();
   void Bind(Evas_Object* win);
   void Unbind();
   void CancelTouch();