Delete Font feature check function. 35/168135/1 accepted/tizen/4.0/unified/20180124.154300 submit/tizen_4.0/20180124.093142
authorjinwang.an <jinwang.an@samsung.com>
Wed, 24 Jan 2018 08:43:14 +0000 (17:43 +0900)
committerjinwang.an <jinwang.an@samsung.com>
Wed, 24 Jan 2018 08:43:14 +0000 (17:43 +0900)
Change-Id: I4efdb178096a0ebcc05bebabe3549f0ca58d9122
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
include/system_settings_private.h
src/system_setting_platform.c
src/system_settings.c

index e1283f8024265e48b3fad8546136a29ce597f050..4a99b017e9f5b4978ca9b753e32772f851993609 100644 (file)
@@ -1588,18 +1588,6 @@ int system_setting_feature_check_wifi(void * value);
 int system_setting_feature_check_telephony(void *value);
 
 
-/**
- * @internal
- * @since_tizen 4.0
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
- */
-int system_setting_feature_check_font(void *value);
-/*// */
-
-
 #ifdef __cplusplus
 }
 #endif
index 0c05b5ea5f662f055486b8d1fb64c664bfa2687c..e631b2c0e8e27a68d2b88b2ea79cafbd2a4001bf 100644 (file)
@@ -2239,19 +2239,6 @@ int system_setting_feature_check_telephony(void * value)
        return ret;
 }
 
-
-int system_setting_feature_check_font(void * value)
-{
-       static bool first_query = true;
-       static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
-
-       if (first_query == true) {
-               ret = system_settings_feature_check_bool(SETTING_FONT_PATH);
-               first_query = false;
-       }
-
-       return ret;
-}
 /*  LCOV_EXCL_START */
 int system_setting_get_uds_state(system_settings_key_e key, void **value)
 {
index f73fe23de88d1a3d9c0537ca766f9ff9e738e317..74ae2af51ec293f10ce0dfe70a7a4c346bcea80a 100644 (file)
@@ -95,7 +95,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
+               NULL,           /* feature check */
                { NULL, 0 }, /* changed callabck list */
                NULL,           /* user data */
        },
@@ -111,7 +111,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
+               NULL,           /* feature check */
                { NULL, 0 }, /* changed callabck list */
                NULL,           /* user data */
        },
@@ -203,7 +203,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_font,              /* feature check */
+               NULL,           /* feature check */
                { NULL, 0 }, /* changed callabck list */
                NULL,           /* user data */
        },