[ITC][system-settings][Non-ACR][Add wifi feature check]
authorjinwang.an <jinwang.an@samsung.com>
Tue, 18 Sep 2018 11:40:07 +0000 (20:40 +0900)
committerjinwang.an <jinwang.an@samsung.com>
Tue, 18 Sep 2018 11:40:07 +0000 (20:40 +0900)
Change-Id: I66f7a94a745861e06bc7a3b227d5429ddd26a417
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
src/itc/system-settings/ITs-system-settings.c

index 75172a51b741c812c0d0e58182aa8548703c6a9d..93e60c11bf7f559dbaf2b32bb524b60cac30b466 100755 (executable)
@@ -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 )