From 75d25284c511a55d11955584c852898ad3a2c899 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Wed, 21 Dec 2016 08:46:38 +0900 Subject: [PATCH] Fix the build error for emulator Change-Id: I16c4bf19b412fdacdaf45e66365d87edec312ea0 Signed-off-by: DoHyun Pyun --- emulator/src/ui/bt-main-view.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/emulator/src/ui/bt-main-view.c b/emulator/src/ui/bt-main-view.c index bc74850..42c8583 100644 --- a/emulator/src/ui/bt-main-view.c +++ b/emulator/src/ui/bt-main-view.c @@ -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; -- 2.7.4