Fix the bug that system-server is crashed during power-off. 10/14910/1
authorsh.pi <sh.pi@samsung.com>
Fri, 3 May 2013 08:35:16 +0000 (17:35 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Mon, 13 Jan 2014 15:15:35 +0000 (16:15 +0100)
commit70b3d0f8680ed1f9e9500c432ee57557c5303d58
tree86a15b61045d07b5c502db6cc9a7d538520f60fc
parent6d7867a59d7fb62362b018949e485d8b6ddf7907
Fix the bug that system-server is crashed during power-off.

pmsys is freed during power-off.
But deviced changes the brightness by light sensor.
and it accesses pmsys node.
now pmsys pointer is checked when brightness is changed.

Change-Id: I1b9e6538b78a6b0f1d18d51592c89cc8eebabb36
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
src/display/llinterface.c