Remove viewer visibility 11/224411/1
authorhyunho <hhstark.kang@samsung.com>
Mon, 10 Feb 2020 09:42:53 +0000 (18:42 +0900)
committerhyunho <hhstark.kang@samsung.com>
Mon, 10 Feb 2020 09:42:53 +0000 (18:42 +0900)
https://review.tizen.org/gerrit/#/c/platform/core/appfw/appcore-watch/+/222437/

Change-Id: Ic941844e8e78262742161f0bf832fd95ea30a4d6
Signed-off-by: hyunho <hhstark.kang@samsung.com>
watch-control/src/control.c

index 5e3d468..b3b426c 100644 (file)
@@ -968,12 +968,12 @@ static int __change_viewer_visibility(int visibility, bool update_cur_state)
 
 API int watch_manager_notify_resumed_status_of_viewer(void)
 {
-       return __change_viewer_visibility(AUL_SCREEN_STATUS_RESUME, true);
+       return watch_manager_resume();
 }
 
 API int watch_manager_notify_paused_status_of_viewer(void)
 {
-       return __change_viewer_visibility(AUL_SCREEN_STATUS_PAUSE, true);
+       return watch_manager_pause();
 }
 
 static int __change_visibility(int visibility)