* System Settings API provides functions for getting the system configuration related to user preferences.
* The main features of the System Settings API include accessing system-wide configurations, such as ringtones, wallpapers, and etc.
*
-* For more information on feature, see <a href="https://developer.tizen.org/development/guides/native-application/device-settings-and-systems/system-settings">System Settings Programming Guide.</a>
+* @section CAPI_SYSTEM_SYSTEM_SETTINGS_MODULE_FEATURE Related Features
+*
+* This API is related with the following features:
+* - http://tizen.org/feature/systemsetting
+* - http://tizen.org/feature/systemsetting.home_screen
+* - http://tizen.org/feature/systemsetting.lock_screen
+* - http://tizen.org/feature/systemsetting.incoming_call
+* - http://tizen.org/feature/systemsetting.notification_email
+* - http://tizen.org/feature/network.wifi
+* - http://tizen.org/feature/network.telephony
+*
+* It is recommended to design feature related codes in your application for reliability.
+*
+* You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE,thereby controlling the procedure of your application.
+*
+* To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
+*
+* More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature Element</b>.</a>
+
+* The table below shows addtional related features on which System Settings keys depend.
+* <table>
+* <tr> <th> Additional Related Feature </th> <th> System-Settings Keys </th> </tr>
+* <tr> <td> http://tizen.org/feature/systemsetting.home_screen </td> <td> #SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN </td> </tr>
+* <tr> <td rowspan=2> http://tizen.org/feature/systemsetting.lock_screen </td> <td> #SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN </td> </tr>
+* <tr> <td> #SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP </td> </tr>
+* <tr> <td rowspan=2> http://tizen.org/feature/systemsetting.incoming_call </td> <td> #SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE </td></tr>
+* <tr> <td> #SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION </td> </tr>
+* <tr> <td> http://tizen.org/feature/systemsetting.notification_email </td> <td> #SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE </td> </tr>
+* <tr> <td> http://tizen.org/feature/network.wifi </td> <td> #SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION </td> </tr>
+* <tr> <td rowspan=2> http://tizen.org/feature/network.telephony </td> <td> #SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE </td> </tr>
+* <tr> <td> #SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST </td> </tr>
+* </table>
*/
* @since_tizen 2.3
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
- * @param[in] key The key name of the system settings changed
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The new system settings value of the given key
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_set_value_int(system_settings_key_e key, int value);
/**
* @brief Gets the system settings value associated with the given key as an integer.
* @since_tizen 2.3
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The current system settings value of the given key
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
* @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
*/
int system_settings_get_value_int(system_settings_key_e key, int *value);
* @since_tizen 2.3
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The new system settings value of the given key
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_set_value_bool(system_settings_key_e key, bool value);
/**
* @brief Gets the system settings value associated with the given key as a boolean.
* @since_tizen 2.3
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The current system settings value of the given key
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
* @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
*/
int system_settings_get_value_bool(system_settings_key_e key, bool *value);
* @since_tizen 2.3
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
- * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for setting.
+ * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for setting. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The new system settings value of the given key
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_set_value_string(system_settings_key_e key, const char *value);
/**
* @brief Gets the system settings value associated with the given key as a string.
* @since_tizen 2.3
- * @remarks You must release @a value using free().
+ * @remarks You must release @a value using free(). When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[out] value The current system settings value of the given key
* @return 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
* @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
*/
int system_settings_get_value_string(system_settings_key_e key, char **value);
/**
* @brief Registers a change event callback for the given system settings key.
* @since_tizen 2.3
- * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb.
+ * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
* @post system_settings_changed_cb() will be invoked.
*
* @see system_settings_unset_changed_cb()
/**
* @brief Unregisters the callback function.
* @since_tizen 2.3
- * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb.
+ * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @return 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*
* @see system_settings_set_changed_cb()
* @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
* @since_tizen 3.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[in] callback The callback-function name for iteration
* @param[in] user_data The user data passed from caller-side
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_foreach_value_string(system_settings_key_e key, system_settings_iter_cb callback, void *user_data);
* @since_tizen 3.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[in] value string typed value to be appended
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_add_value_string(system_settings_key_e key, const char *value);
* @since_tizen 3.0
* @privlevel platform
* @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @remarks When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
* @param[in] key The key name of the system settings
* @param[in] value string typed value to be removed
* @return @c 0 on success, otherwise a negative error value
* @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
* @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED Not support system-settings API
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
*/
int system_settings_delete_value_string(system_settings_key_e key, const char *value);
#define SETTING_PROFILE_PATH "tizen.org/feature/profile"
-#define SETTING_3G_TELEPHONY_PATH "tizen.org/feature/network.telephony.service.cdma"
+#define SETTING_INCOMING_CALL_PATH "tizen.org/feature/systemsetting.incoming_call "
+#define SETTING_HOME_SCREEN_PATH "tizen.org/feature/systemsetting.home_screen"
+#define SETTING_LOCK_SCREEN_PATH "tizen.org/feature/systemsetting.lock_screen"
+#define SETTING_NOTIFICATION_EMAIL_PATH "tizen.org/feature/systemsetting.notification_email"
+#define SETTING_WIFI_PATH "tizen.org/feature/network.wifi"
+#define SETTING_TELEPHONY_PATH "tizen.org/feature/network.telephony"
/**
* @internal
* @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_incoming_call(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_home_screen(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_lock_screen(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_notification_email(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_wifi(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_telephony(void *value);
/*// */
return system_setting_vconf_unset_changed_cb(VCONFKEY_SETAPPL_AD_ID, 0);
}
-int system_setting_get_profile_info(int *value)
+int system_settings_feature_check_bool(char *path)
{
- char *profile_string = NULL;
- static int is_first = 1;
- static int profile_data = 0;
+ bool profile_data = false;
+ int ret = system_info_get_platform_bool(path, &profile_data);
+ if (ret != SYSTEM_INFO_ERROR_NONE) {
+ SETTING_TRACE("Setting - reading profile string failed, %d", ret);
+ return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+ }
- if (value == NULL)
- return SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER;
+ ret = (profile_data == true) ? SYSTEM_SETTINGS_ERROR_NONE : SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+
+ return ret;
- *value = 0;
+}
- if (!is_first) {
- *value = profile_data;
- return SYSTEM_SETTINGS_ERROR_NONE;
+int system_setting_feature_check_incoming_call(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_INCOMING_CALL_PATH);
+ first_query = false;
}
- is_first = 0;
+ return ret;
+}
- int ret = system_info_get_platform_string(SETTING_PROFILE_PATH, &profile_string);
- if (ret != SYSTEM_INFO_ERROR_NONE) {
- SETTING_TRACE("Setting - reading profile string failed, %d", ret);
- return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+int system_setting_feature_check_home_screen(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_HOME_SCREEN_PATH);
+ first_query = false;
}
- if (profile_string == NULL)
- return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+ return ret;
+}
- LOGE("Profile : %s", profile_string);
-
- if (!strcmp(profile_string, "mobile"))
- *value = SYSTEM_SETTING_SUPPORTED_PROFILE_MOBILE;
- else if (!strcmp(profile_string, "wearable"))
- *value = SYSTEM_SETTING_SUPPORTED_PROFILE_WEARABLE;
- else if (!strcmp(profile_string, "tv"))
- *value = SYSTEM_SETTING_SUPPORTED_PROFILE_TV;
- else if (!strcmp(profile_string, "common"))
- *value = SYSTEM_SETTING_SUPPORTED_PROFILE_COMMON;
- else {
- FREE(profile_string);
- return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+int system_setting_feature_check_lock_screen(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_LOCK_SCREEN_PATH);
+ first_query = false;
}
- profile_data = *value;
- FREE(profile_string);
- return SYSTEM_SETTINGS_ERROR_NONE;
+ return ret;
}
-int system_setting_feature_check_telephony(void * value)
+int system_setting_feature_check_notification_email(void * value)
{
- int profile_data = 0;
+ static bool first_query = true;
+ static int ret = SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
- if (system_setting_get_profile_info(&profile_data) != SYSTEM_SETTINGS_ERROR_NONE)
- return SYSTEM_SETTINGS_ERROR_IO_ERROR;
+ if (first_query == true) {
+ ret = system_settings_feature_check_bool(SETTING_NOTIFICATION_EMAIL_PATH);
+ first_query = false;
+ }
- if (profile_data == SYSTEM_SETTING_SUPPORTED_PROFILE_MOBILE ||
- profile_data == SYSTEM_SETTING_SUPPORTED_PROFILE_WEARABLE)
- return SYSTEM_SETTINGS_ERROR_NONE;
- else {
- return SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED;
+ return ret;
+}
+
+int system_setting_feature_check_wifi(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_WIFI_PATH);
+ first_query = false;
}
+
+ return ret;
}
+int system_setting_feature_check_telephony(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_TELEPHONY_PATH);
+ first_query = false;
+ }
+
+ return ret;
+}
/* LCOV_EXCL_START */
int system_setting_get_uds_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value)
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 */
},
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- system_setting_feature_check_telephony, /* feature check */
+ system_setting_feature_check_home_screen, /* feature check */
NULL, /* user data */
},
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- system_setting_feature_check_telephony, /* feature check */
+ system_setting_feature_check_lock_screen, /* feature check */
NULL, /* user data */
},
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- system_setting_feature_check_telephony, /* feature check */
+ system_setting_feature_check_notification_email, /* feature check */
NULL, /* user data */
},
{
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- system_setting_feature_check_telephony, /* feature check */
+ system_setting_feature_check_lock_screen, /* feature check */
NULL, /* user data */
},
{
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- system_setting_feature_check_telephony, /* feature check */
+ system_setting_feature_check_incoming_call, /* feature check */
NULL, /* user data */
},
{
NULL, /* ADD */
NULL, /* DEL */
NULL, /* LIST */
- NULL, /* feature check */
+ system_setting_feature_check_wifi, /* feature check */
NULL, /* user data */
},
{
NULL, /* add */
NULL, /* del */
NULL, /* list */
- NULL, /* feature check */
+ system_setting_feature_check_telephony, /* feature check */
NULL, /* user data */
},
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,
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
}
};