Disconnect HID device service when HID profile is removed. 60/98160/1 accepted/tizen/common/20161117.085347 accepted/tizen/common/20161118.090639 accepted/tizen/ivi/20161121.012013 accepted/tizen/mobile/20161121.011732 accepted/tizen/tv/20161121.011827 accepted/tizen/wearable/20161121.011917 submit/tizen/20161117.015745 submit/tizen/20161118.002314
authorDeokhyun Kim <dukan.kim@samsung.com>
Wed, 16 Nov 2016 05:49:42 +0000 (14:49 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 16 Nov 2016 09:11:40 +0000 (18:11 +0900)
commit73983ce4a89dfd73b929364e729e960b3d3bea9d
tree0b60194adf6e76925c0dba477d1741df6e19f2e7
parentbe877c063ebebbc167e1e5800eabf8307b787a57
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: Ic507032ba46e864e23c142177d9a7ba35ebe5d15
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
src/device.c