if (!m_uuid) {
char *appid = NULL;
- app_get_id(&appid);
-
- LOGD("appid : '%s'\n", appid);
-
- if (appid) {
- m_uuid = strdup(appid);
- free(appid);
+ int app_ret = app_get_id(&appid);
+ if (app_ret == APP_ERROR_NONE) {
+ LOGD("appid : '%s'\n", appid);
+
+ if (appid) {
+ m_uuid = strdup(appid);
+ free(appid);
+ }
}
+ else
+ LOGW("Failed to get app id(%d)", app_ret);
}
if (!m_window_creation_defer_flag) {
void CSCLCoreImpl::set_dotnet_flag(sclboolean flag)
{
m_core_ui.set_dotnet_flag(flag);
-}
\ No newline at end of file
+}