From: jinwang.an Date: Tue, 18 Sep 2018 11:40:07 +0000 (+0900) Subject: [ITC][system-settings][Non-ACR][Add wifi feature check] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8d785238b7e392994c06eb73d3a4872688df392;p=test%2Ftct%2Fnative%2Fapi.git [ITC][system-settings][Non-ACR][Add wifi feature check] Change-Id: I66f7a94a745861e06bc7a3b227d5429ddd26a417 Signed-off-by: jinwang.an --- diff --git a/src/itc/system-settings/ITs-system-settings.c b/src/itc/system-settings/ITs-system-settings.c index 75172a51b..93e60c11b 100755 --- a/src/itc/system-settings/ITs-system-settings.c +++ b/src/itc/system-settings/ITs-system-settings.c @@ -55,10 +55,10 @@ void ITs_system_settings_startup(void) { g_bSystemSettingsFontNotSupported = true; } - if ( !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_TELEPHONY_FEATURE, API_NAMESPACE) ) - { - g_bSystemSettingsTelyphoneyNotSupported = true; - } + if ( !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_TELEPHONY_FEATURE, API_NAMESPACE) ) + { + g_bSystemSettingsTelyphoneyNotSupported = true; + } if (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_INCOMING_CALL_FEATURE, API_NAMESPACE) ) { g_bSystemSettingsIncomingCallNotSupported = true; @@ -148,6 +148,10 @@ int ITc_system_settings_get_value_bool_p(void) { key = eSystem_Settings_Key[enum_counter]; nRetVal = system_settings_get_value_bool(key, &bGetValue);// Target APIs + if(key == SYSTEM_SETTINGS_KEY_NETWORK_WIFI_NOTIFICATION && (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_NETWORK_WIFI_FEATURE,API_NAMESPACE)) && (nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED)) + { + continue; + } if(g_bSystemSettingsNotSupported) { if ( nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )