From: Piotr Kosko
Date: Mon, 12 Jan 2015 09:58:31 +0000 (+0100)
Subject: [Systeminfo] Buildbreak fix. Removed ITapiSim_product API usage
X-Git-Tag: submit/tizen_mobile/20150603.064609~1^2~650
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=effe170ef12e180a4eb6710ae781fa4becc11889;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Systeminfo] Buildbreak fix. Removed ITapiSim_product API usage
Change-Id: I86a3fd59e29e4d1ad465e947ae8a8dba72c08632
Signed-off-by: Piotr Kosko
---
diff --git a/src/systeminfo/systeminfo-utils.cpp b/src/systeminfo/systeminfo-utils.cpp
index e76427d..03414c5 100644
--- a/src/systeminfo/systeminfo-utils.cpp
+++ b/src/systeminfo/systeminfo-utils.cpp
@@ -30,7 +30,6 @@
#include
#include
#include
-#include
#include
#include "common/logger.h"
@@ -415,18 +414,8 @@ void SimDetailsManager::FetchSimSyncProps(TapiHandle *tapi_handle)
throw UnknownException("Failed to get sim imsi");
}
- TelSimResponseData_t outparam;
- memset(&outparam, 0, sizeof (TelSimResponseData_t));
- error = tel_request_sim_sync(tapi_handle, TAPI_SIM_GET_ICCID, nullptr,
- &outparam);
- if (TAPI_API_SUCCESS == error) {
- iccid_ = outparam.iccid_info.icc_num;
- LOGD("ICCID : %s", iccid_.c_str());
- }
- else {
- LOGE("Failed to get iccid info: %d", error);
- throw UnknownException("Failed to get iccid_ info");
- }
+ //TODO add code for iccid value fetching, when proper API would be ready
+ iccid_ = "";
}
void SimDetailsManager::ResetSimHolder(picojson::object* out){