Revert "Remove viewer visibility"
authorhyunho <hhstark.kang@samsung.com>
Mon, 9 Mar 2020 01:02:29 +0000 (10:02 +0900)
committerhyunho <hhstark.kang@samsung.com>
Mon, 9 Mar 2020 01:02:29 +0000 (10:02 +0900)
This reverts commit e9f8ecba59e1137472a5079f347846a90de711ad.

watch-control/src/control.c

index a08d0630acbe158c5774249ef15bbe24d9c8af15..956799a1c6e5cfd1d974dd96a84bc893605b0ed6 100644 (file)
@@ -910,12 +910,12 @@ static int __change_viewer_visibility(int visibility, bool update_cur_state)
 
 API int watch_manager_notify_resumed_status_of_viewer(void)
 {
-       return watch_manager_resume();
+       return __change_viewer_visibility(AUL_SCREEN_STATUS_RESUME, true);
 }
 
 API int watch_manager_notify_paused_status_of_viewer(void)
 {
-       return watch_manager_pause();
+       return __change_viewer_visibility(AUL_SCREEN_STATUS_PAUSE, true);
 }
 
 static int __change_visibility(int visibility)