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 e1283f8..4a99b01 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 0c05b5e..e631b2c 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 f73fe23..74ae2af 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 */
        },