static const int ITEM_LEFT_MARGIN = 26; // in 720X1280px resolution
static const wchar_t EMPTY_LIST_STRING[] = L"No Certificate";
static const wchar_t TITLE_STRING[] = L"USER CERTIFICATES";
+static const wchar_t CERT_ID_KEY[] = L"http://tizen.org/appcontrol/data/cert/cert_id";
+static const wchar_t OLD_CERT_ID_KEY[] = L"Id";
CertificateSelectorForm::CertificateSelectorForm(void)
: __reqId(-1)
AppLog("The current value of isSelected is true.");
TryCatchResult(certId >= 0, , E_INVALID_ARG, "[%s] Invalid Certificate ID.", GetErrorMessage(E_INVALID_ARG));
- pMap->Add(new (std::nothrow) String(L"Id"), new (std::nothrow) String(Integer(certId).ToString()));
+ pMap->Add(new (std::nothrow) String(OLD_CERT_ID_KEY), new (std::nothrow) String(Integer(certId).ToString()));
+ TryCatchResult(!IsFailed(r), , r, "[%s] Propagating.", GetErrorMessage(r));
+
+ pMap->Add(new (std::nothrow) String(CERT_ID_KEY), new (std::nothrow) String(Integer(certId).ToString()));
TryCatchResult(!IsFailed(r), , r, "[%s] Propagating.", GetErrorMessage(r));
// send result