Changed comment about SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED.
[platform/core/api/system-settings.git] / src / system_settings.c
index 0ffeb05..a5f095e 100644 (file)
@@ -49,7 +49,7 @@ system_setting_s system_setting_table[] = {
                system_setting_add_incoming_call_ringtone,      /* ADD */
                system_setting_del_incoming_call_ringtone,      /* DEL */
                system_setting_list_incoming_call_ringtone,     /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_incoming_call,             /* feature check */
                NULL,           /* user data */
        },
 
@@ -64,7 +64,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_home_screen,               /* feature check */
                NULL,           /* user data */
        },
 
@@ -79,7 +79,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_lock_screen,               /* feature check */
                NULL,           /* user data */
        },
 
@@ -139,7 +139,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_notification_email,                /* feature check */
                NULL,           /* user data */
        },
        {
@@ -181,7 +181,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_lock_screen,               /* feature check */
                NULL,           /* user data */
        },
        {
@@ -349,7 +349,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               system_setting_feature_check_telephony,         /* feature check */
+               system_setting_feature_check_incoming_call,             /* feature check */
                NULL,           /* user data */
        },
        {
@@ -419,7 +419,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* ADD */
                NULL,           /* DEL */
                NULL,           /* LIST */
-               NULL,           /* feature check */
+               system_setting_feature_check_wifi,              /* feature check */
                NULL,           /* user data */
        },
        {
@@ -447,7 +447,7 @@ system_setting_s system_setting_table[] = {
                NULL,           /* add */
                NULL,           /* del */
                NULL,           /* list */
-               NULL,           /* feature check */
+               system_setting_feature_check_telephony,         /* feature check */
                NULL,           /* user data */
        },
 
@@ -459,7 +459,11 @@ system_setting_s system_setting_table[] = {
                system_setting_set_changed_callback_uds_state,
                system_setting_unset_changed_callback_uds_state,
                NULL,
-               NULL            /* user data */
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               system_setting_feature_check_telephony,         /* feature check */
+               NULL,           /* user data */
        },
        {
                SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST,
@@ -469,10 +473,14 @@ system_setting_s system_setting_table[] = {
                system_setting_set_changed_callback_uds_pkg_list,
                system_setting_unset_changed_callback_uds_pkg_list,
                NULL,
-               NULL            /* user data */
+               NULL,           /* add */
+               NULL,           /* del */
+               NULL,           /* list */
+               system_setting_feature_check_telephony,         /* feature check */
+               NULL,           /* user data */
        },
        {
-               SYSTEM_SETTINGS_MAX, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL
+               SYSTEM_SETTINGS_MAX, -1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
        }
 };