bool bInitComplete = false;
int nRet = telephony_init(&hTelList);
+ if(!g_bFeatureIsSupported)
+ {
+ if(nRet != TIZEN_ERROR_NOT_SUPPORTED)
+ {
+ FPRINTF("[Line : %d][%s] telephony_init API call did not return 'UNSUPPORTED' error for unsupported feature\\n", __LINE__, API_NAMESPACE);
+ return 1;
+ }
+ else
+ {
+ FPRINTF("[Line : %d][%s] telephony_init API call correctly return 'UNSUPPORTED' error for unsupported feature\\n", __LINE__, API_NAMESPACE);
+ return 0;
+ }
+ }
+
PRINT_RESULT(TELEPHONY_ERROR_NONE, nRet, "telephony_init", "Telephony Api Failed");
for (nSimSlotNo = 0; nSimSlotNo < hTelList.count; nSimSlotNo++)
int nSimSlotNo = 0;
int nRet = telephony_init(&hTelList);
+ if(!g_bFeatureIsSupported)
+ {
+ if(nRet != TIZEN_ERROR_NOT_SUPPORTED)
+ {
+ FPRINTF("[Line : %d][%s] telephony_init API call did not return 'UNSUPPORTED' error for unsupported feature\\n", __LINE__, API_NAMESPACE);
+ return 1;
+ }
+ else
+ {
+ FPRINTF("[Line : %d][%s] telephony_init API call correctly return 'UNSUPPORTED' error for unsupported feature\\n", __LINE__, API_NAMESPACE);
+ return 0;
+ }
+ }
+
PRINT_RESULT(TELEPHONY_ERROR_NONE, nRet, "telephony_init", "Telephony Api Failed");
for (nSimSlotNo = 0; nSimSlotNo < hTelList.count; nSimSlotNo++)