msg_get_int_value(newMsg, MSG_CB_MSG_SERIAL_NUM_INT, &serialNumber);
msg_get_int_value(newMsg, MSG_CB_MSG_TYPE_INT, &cbsType);
- Tizen::Base::Integer serialno(serialNumber);
- length = serialno.ToString().GetLength();
-
- msgSerialNumber.Construct(length);
+ msgSerialNumber.Construct(sizeof(int));
msgSerialNumber.SetInt(0, serialNumber);
msgSerialNumber.SetPosition(0);
msgSecurityInfo.SetArray((byte*) etwsWarningInfo, 0, length);
msgSecurityInfo.SetPosition(0);
- Tizen::Base::Integer warningtype(etwsWarningType);
- length = warningtype.ToString().GetLength();
-
- etwsMsgWarningType.Construct(length);
+ etwsMsgWarningType.Construct(sizeof(int));
etwsMsgWarningType.SetInt(0, etwsWarningType);
etwsMsgWarningType.SetPosition(0);
etwsNotifiation = true;
SysLog(NID_MSG, "cbs etwsWarningType: [%d]", etwsWarningType);
+ SysLog(NID_MSG, "cbs etwsWarningInfo: [%s]", etwsWarningInfo);
SysTryReturnVoidResult(NID_MSG, GetInstance()->__pCbsEtwsClientId != null, E_OUT_OF_MEMORY,"failed to get client id.");
for ( int i = 0; i < GetInstance()->__pCbsEtwsClientId->GetCount(); i++)