sensord: send permission-needed sensor information to client 80/63680/1
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 24 Mar 2016 16:48:20 +0000 (01:48 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 25 Mar 2016 07:37:39 +0000 (16:37 +0900)
commitbc45faf4fdb5a5cfdb4256c96866d1e663aab03b
treeb8201f507808ab008aa4eb0ae5313de5143634a3
parentff531922d4a0068c8563fdf5fd9a4c4c10dbef25
sensord: send permission-needed sensor information to client

* client needs to know whether the error is operation_failed or
  permission_denied. therefore server has to send all of sensor list to
  client.
* if it is previleged sensor, server sends the type information only.

Change-Id: I2563d457b0aa039ebbc3f83121aa47b18dfa06bc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/command_worker.cpp
src/server/command_worker.h