Add missing condition check on __aul_watch_control_cb() 98/225698/2
authorChangwoo KIM <cw2010.kim@samsung.com>
Fri, 29 Nov 2019 00:50:40 +0000 (09:50 +0900)
committerhyunho <hhstark.kang@samsung.com>
Mon, 24 Feb 2020 05:43:45 +0000 (14:43 +0900)
Need to check watch object visible info before calling __manual_render_start()

Change-Id: Ib451024973f153f5f1861c4ce411cbee64b05ac7

watch-control/src/control.c

index 3cd3764..001ba20 100644 (file)
@@ -186,7 +186,7 @@ static void __manual_render_stop(void)
 
 static void __aul_watch_control_cb(bundle *b, void *user_data)
 {
-       if (__lcd_is_on()) {
+       if (__watch_is_visible() && __lcd_is_on()) {
                _I("App control manual render");
                __manual_render_start(true);
        }