Disable the factory test mode in TV product 39/269039/1
authordh79pyun <dh79.pyun@samsung.com>
Fri, 7 Jan 2022 02:54:44 +0000 (11:54 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Fri, 7 Jan 2022 02:54:44 +0000 (11:54 +0900)
Change-Id: I93dcce0afdf3425f7fd7763d5733426c852dc3b6
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
bt-service/services/adapter/bt-service-core-adapter-le.c

index be308c0..04f10a5 100644 (file)
@@ -1258,9 +1258,10 @@ int _bt_disable_adapter_le(void)
        return __bt_le_state_handle_request(FALSE);
 }
 
-
 static gboolean __bt_is_factory_test_mode(void)
 {
+/* The factory test mode is not used in TV product */
+#ifndef TIZEN_BLUEDROID_PORTING
        int mode = 0;
 
        if (vconf_get_bool(VCONFKEY_BT_DUT_MODE, &mode)) {
@@ -1272,6 +1273,7 @@ static gboolean __bt_is_factory_test_mode(void)
                BT_INFO("DUT Test Mode !!");
                return TRUE;
        }
+#endif
 
        return FALSE;
 }