Remove viewer visibility 89/229589/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 2 Apr 2020 05:17:43 +0000 (14:17 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Wed, 8 Apr 2020 00:57:49 +0000 (00:57 +0000)
Change-Id: Ib40280baeee0a92754ffe058ceceb21772ef735a
Signed-off-by: hyunho <hhstark.kang@samsung.com>
watch-control/src/control.c

index 956799a..503999f 100644 (file)
@@ -168,7 +168,7 @@ static void __manual_render_start(bool force_resume)
 
        if (force_resume) {
                _W("Force resume watchface");
-               watch_manager_notify_resumed_status_of_viewer();                
+               watch_manager_notify_resumed_status_of_viewer();
        }
 }
 
@@ -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 __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)