bool g_bSystemSettingsNotSupported = false;
bool g_bSystemSettingsFontNotSupported = false;
bool g_bSystemSettingsTelyphoneyNotSupported = false;
+bool g_bSystemSettingsNetworkNotSupported = false;
bool g_bSystemSettingsIncomingCallNotSupported = false;
bool g_bSystemSettingsGrayscaleNotSupported = false;
bool g_bSystemSettingsNegativeNotSupported = false;
g_bSystemSettingsGrayscaleNotSupported = false;
g_bSystemSettingsNegativeNotSupported = false;
g_bSystemSettingsRotaryNotSupported = false;
+ g_bSystemSettingsNetworkNotSupported = false;
if ( !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_FEATURE, API_NAMESPACE) )
{
{
g_bSystemSettingsTelyphoneyNotSupported = true;
}
+ if ( !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_TELEPHONY_FEATURE, API_NAMESPACE)&&
+ !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_ETHERNET_FEATURE, API_NAMESPACE) &&
+ !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_NETWORK_WIFI_FEATURE, API_NAMESPACE) )
+ {
+ g_bSystemSettingsNetworkNotSupported = true;
+ }
if (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_INCOMING_CALL_FEATURE, API_NAMESPACE) )
{
g_bSystemSettingsIncomingCallNotSupported = true;
}
}
- if(g_bSystemSettingsTelyphoneyNotSupported && eSystem_Settings_Key[enum_counter] == SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE)
+ if(g_bSystemSettingsNetworkNotSupported && eSystem_Settings_Key[enum_counter] == SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE)
{
if ( nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )
{
FPRINTF("\\n[Line : %d][%s] Feature Not Supported , error returned = %s", __LINE__, API_NAMESPACE, SystemSettingsGetError(nRetVal));
- return 0;
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ continue;
}
else
{
if ( nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )
{
FPRINTF("\\n[Line : %d][%s] Feature Not Supported , error returned = %s", __LINE__, API_NAMESPACE, SystemSettingsGetError(nRetVal));
- return 0;
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ continue;
}
else
{
if ( nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )
{
FPRINTF("\\n[Line : %d][%s] Feature Not Supported , error returned = %s", __LINE__, API_NAMESPACE, SystemSettingsGetError(nRetVal));
- return 0;
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ continue;
}
else
{
if ( nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )
{
FPRINTF("\\n[Line : %d][%s] Feature Not Supported , error returned = %s", __LINE__, API_NAMESPACE, SystemSettingsGetError(nRetVal));
- return 0;
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ continue;
}
else
{
key = e_System_Settings_Key[enum_counter];
nRetVal = system_settings_get_value_string(key, &pszGetPath);// Target APIs
+ if( g_bSystemSettingsNotSupported || nRetVal == SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED )
+ {
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ break;
+ }
+
if(key == SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP || key == SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN && (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_LOCK_SCREEN_FEATURE, API_NAMESPACE)) )
{
continue;
continue;
}
- if( g_bSystemSettingsNotSupported ||
- (g_bSystemSettingsFontNotSupported && (key == SYSTEM_SETTINGS_KEY_FONT_TYPE || key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)) ||
+ if( (g_bSystemSettingsFontNotSupported && (key == SYSTEM_SETTINGS_KEY_FONT_TYPE || key == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE)) ||
(g_bSystemSettingsIncomingCallNotSupported && (key == SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE))
)
{
{
FPRINTF("\\n[Line : %d][%s] Feature Not Supported , error returned = %s", __LINE__, API_NAMESPACE, SystemSettingsGetError(nRetVal));
FREE_MEMORY(pszGetPath);
- return 0;
+ nRetVal == SYSTEM_SETTINGS_ERROR_NONE;
+ continue;
}
else
{
if ( nkey_idx == (SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED + 1) || nkey_idx == SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE )
continue;
- if(nkey_idx == SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE && ((!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_TELEPHONY_FEATURE, API_NAMESPACE)) || (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_FONT_FEATURE, API_NAMESPACE) )))
+ if(nkey_idx == SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE &&
+ ((!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_TELEPHONY_FEATURE, API_NAMESPACE) &&
+ !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_ETHERNET_FEATURE, API_NAMESPACE) &&
+ !TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_NETWORK_WIFI_FEATURE, API_NAMESPACE) )
+ || (!TCTCheckSystemInfoFeatureSupported(SYSTEM_SETTINGS_FONT_FEATURE, API_NAMESPACE) )))
{
continue;
}