display: release display lock when apps go to background 65/59365/3
authorTaeyoung Kim <ty317.kim@samsung.com>
Mon, 15 Feb 2016 06:01:26 +0000 (15:01 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Thu, 18 Feb 2016 03:38:50 +0000 (12:38 +0900)
commit4b2b94d0da544e4b84d82788ab650d83290a0d0b
tree147f1fb852102bf25a6805eb6cb911e8c28324d5
parent98c15857e2af851f2f4e123708ec9eb42b3d64e1
display: release display lock when apps go to background

- When background apps lock display, power consumption is
  increased. Thus background app should release display lock.

- deviced gets app background information from resourced (dbus signal)
  When the information is delivered, deviced just checks
  the app status. And the display lock is released when
  display state is changed.

Change-Id: Ia3f5f1bbf311fc4784cd469e078ce4f476372420
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
src/core/device-notifier.h
src/display/core.c
src/proc/proc-handler.c