cynara: add exception code for cynara_session_id retriving 03/121303/3 accepted/tizen/unified/20170629.085739 submit/tizen/20170622.043014
authorINSUN PYO <insun.pyo@samsung.com>
Mon, 27 Mar 2017 12:53:16 +0000 (21:53 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 12 Jun 2017 09:12:55 +0000 (09:12 +0000)
commit900aae625f1041adc95ed8cee6733f3bccda8b7a
tree5c3bd9e771f83d190a131f833ac658854fb46d94
parent95e80db362a20bd127d3d34c920bb0e9e573ec30
cynara: add exception code for cynara_session_id retriving

If client exit as soon as  async call, cynara_session_from_pid return null.
cynara_session_from_pid checks /proc/pid to verify client id.

===== reproduce =====
su - owner

dbus-send  --type=method_call  --system --dest=org.tizen.system.deviced  /Org/Tizen/System/DeviceD/Display  org.tizen.system.deviced.display.CustomBrightness
=====================

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ic313e9d4f9531135865824d8512b9eb1ac6f4c9e
bus/connection.c