Fix the build error for emulator 84/106184/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 20 Dec 2016 23:46:38 +0000 (08:46 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 20 Dec 2016 23:46:38 +0000 (08:46 +0900)
Change-Id: I16c4bf19b412fdacdaf45e66365d87edec312ea0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
emulator/src/ui/bt-main-view.c

index bc74850..42c8583 100644 (file)
@@ -1938,12 +1938,6 @@ gboolean _bt_main_is_matched_profile(unsigned int search_type,
 
        bt_device_major_mask_t major_mask = BT_DEVICE_MAJOR_MASK_MISC;
 
-       if (!TIZEN_HID) {
-               /* P141010-03829 : Kiran doesn't support HID device */
-               BT_DBG("Kiran doesn't support HID device");
-               retv_if(major_class == BT_MAJOR_DEV_CLS_PERIPHERAL, FALSE);
-       }
-
        if (search_type == 0x000000)
                return TRUE;
 
@@ -1992,10 +1986,8 @@ gboolean _bt_main_is_matched_profile(unsigned int search_type,
                major_mask = BT_DEVICE_MAJOR_MASK_HEALTH;
                break;
        case BT_MAJOR_DEV_CLS_PERIPHERAL:
-               if (TIZEN_HID) {
-                       major_mask = BT_DEVICE_MAJOR_MASK_PERIPHERAL;
-                       break;
-               } /* else, goto default */
+               major_mask = BT_DEVICE_MAJOR_MASK_PERIPHERAL;
+               break;
        default:
                major_mask = BT_DEVICE_MAJOR_MASK_MISC;
                break;