The agl-service-homescreen has been shut down due to an error in this part when installing or uninstalling the application.
Bug-AGL: SPEC-3679
Signed-off-by: Yevgeny Hong <yev@drimaes.com>
Change-Id: I276d57ade7db96dd2a3aaa59d54a1d259c17bef7
json_object_put(j_runnable);
return 1;
}
- addAppDetail(j_found);
+ addAppDetail(json_object_get(j_found));
pushAppListChangedEvent(_keyInstall, j_found);
}
else {
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 {