restore the recently brightness when application invokes release api 48/11148/1
authorjy910.yun <jy910.yun@samsung.com>
Mon, 16 Sep 2013 03:53:13 +0000 (12:53 +0900)
committerAleksander Zdyb <a.zdyb@partner.samsung.com>
Mon, 21 Oct 2013 10:34:12 +0000 (12:34 +0200)
Change-Id: Ibb4d004a25485b2090f6ddcc2816426a8ee893e6
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
src/display_wd.c

index d1d0667..704b434 100644 (file)
@@ -91,7 +91,7 @@ int main(void)
                        if (ret == DISPLAY_WD_CANCEL) {
                                DEVERR("[DISPLAY_WD] Canceled. - %s, %d", fifo_path, ret);
                                close(fifo_pollfd.fd);
-                               return -1;
+                               break;
                        }
                }
                if (fifo_pollfd.revents & POLLHUP)