Enable the feature check logic 30/177030/1 accepted/tizen/unified/20180425.133652 submit/tizen/20180425.002759
authortaesub kim <taesub.kim@samsung.com>
Wed, 25 Apr 2018 00:16:48 +0000 (09:16 +0900)
committertaesub kim <taesub.kim@samsung.com>
Wed, 25 Apr 2018 00:17:02 +0000 (09:17 +0900)
Change-Id: Id872e2b3b5eee2ec67507272f9d57447e1ad9524
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
src/include/stc-firewall.h
src/internal/include/stc-util.h

index 60c1b63..4b50c83 100755 (executable)
@@ -49,7 +49,7 @@ extern "C" {
  *  Macros and Typedefs
  *****************************************************************************/
 
-#define TIZEN_FEATURE_STC_FW     "tizen.org/feature/network.firewall"
+#define TIZEN_FEATURE_STC_FW     "http://tizen.org/feature/network.firewall"
 
 #define STC_MANAGER_FW_PATH                    "/net/stc/firewall"
 #define STC_MANAGER_FW_INTERFACE               STC_MANAGER_SERVICE ".firewall"
index f66f913..5c99897 100755 (executable)
@@ -64,9 +64,8 @@
        } \
 } while (0)
 
-#define TIZEN_FEATURE_STC "tizen.org/feature/network.traffic_control"
+#define TIZEN_FEATURE_STC "http://tizen.org/feature/network.traffic_control"
 
-#if 0
 #define CHECK_FEATURE_SUPPORTED(feature_name)\
        do {\
                bool feature_supported = FALSE;\
                } \
        } while (0)
 
-#else
-#define CHECK_FEATURE_SUPPORTED(feature_name)
-#endif
-
 
 /*****************************************************************************
  *  Global Variables