Disconnect HID device service when HID profile is removed. 80/98080/1 accepted/tizen/3.0/common/20161118.192928 accepted/tizen/3.0/ivi/20161118.003719 accepted/tizen/3.0/mobile/20161118.003621 accepted/tizen/3.0/tv/20161118.003637 accepted/tizen/3.0/wearable/20161118.003654 submit/tizen_3.0/20161117.002644
authorDeokhyun Kim <dukan.kim@samsung.com>
Wed, 16 Nov 2016 05:49:42 +0000 (14:49 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Wed, 16 Nov 2016 05:52:29 +0000 (14:52 +0900)
commit476c513bd99f358b699e3fe3f515b0d13293d0f8
tree2ba5ac6b36bd0695773e4ee21ac5ba12f559bbd3
parent4a464ed00b68a2279c7040139e38791ebb68cabd
Disconnect HID device service when HID profile is removed.

 - Even though App which registered HID device profile is terminated abnoramlly,
   HID is still connected. If trying to connect HID again then it fails always.
 - A profile of device structure & a profile registered by App are different.
   A profile of device structure maintains connceted status.
 - If a HID profile registered by App is removed in status of connected,
   disconnect the connection of the profile intentionally.

Change-Id: I9167ac4457cd431780184a3800a86bf82c2eb4ee
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
src/device.c