X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-appinfo.cpp;h=b072ee0d47877c7672be7027828f9e515c24ca77;hb=a06ae44353446b2684a4a43f4332ad93a43feadb;hp=9ccd66078cd3575caf071d3450e4571fae4ffa81;hpb=e5c9cb71a537b92096f2f05058522b811f735838;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-appinfo.cpp b/src/hs-appinfo.cpp index 9ccd660..b072ee0 100644 --- a/src/hs-appinfo.cpp +++ b/src/hs-appinfo.cpp @@ -247,7 +247,7 @@ int HS_AppInfo::updateAppDetailList(afb_api_t api, struct json_object *object) json_object_put(j_runnable); return 1; } - addAppDetail(j_found); + addAppDetail(json_object_get(j_found)); pushAppListChangedEvent(_keyInstall, j_found); } else { @@ -261,7 +261,7 @@ int HS_AppInfo::updateAppDetailList(afb_api_t api, struct json_object *object) AFB_INFO("uninstalled application isn't in runnables list, appid=%s.", appid.c_str()); return 1; } - pushAppListChangedEvent(_keyUninstall, obj_data); + pushAppListChangedEvent(_keyUninstall, json_object_get(obj_data)); removeAppDetail(appid); } else {