overheat: fix re-launching issue and power off issue after 30 sec 73/99573/1
authortaeyoung <ty317.kim@samsung.com>
Wed, 23 Nov 2016 09:12:26 +0000 (18:12 +0900)
committertaeyoung <ty317.kim@samsung.com>
Wed, 23 Nov 2016 09:12:26 +0000 (18:12 +0900)
commitd5348450ef4f0a13ca3d52e62ebdb07baea9fe7d
tree57d1bccd5b365d2862d78f37ffc4fb6b8122b3de
parentc342971332c678dbf1bc3f7c3d4d9176b54d1b89
overheat: fix re-launching issue and power off issue after 30 sec

- re-launching issue
  = Previously, the overheat popup was re-launched if deviced requests
    to launch the popup again. It looked weird for User.
  = Now, the overheat popup checks the existence of the popup and
    skips re-launching itself.

- power off issue
  = Previously, the overheat popup just hided the popup after 30 seconds.
  = Now, the overheat popup turns off the target after 30 seconds.

Change-Id: Ic078e767effa0f90df1ffd5853e44f00005d54ee
Signed-off-by: taeyoung <ty317.kim@samsung.com>
src/overheat/overheat.c