[model] Redwood, B1, B2
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] Crash occurs while initializing String class
[cause] NULL passed into String initializer
[solution] Modified to use empty string instead
[team] Input Framework
[request] N/A
[horizontal_expansion] N/A
Change-Id: I2e6c53b7e5d3b07c2643ab8459676970df6fdf03
pkgmgrinfo_pkginfo_get_icon (pkginfo_handle, &pkg_icon_path);
// FIXME : need to get UUID
- helper_info.uuid = scim::String (app_id);
- helper_info.name = scim::String (pkg_label);
- helper_info.icon = scim::String (pkg_icon_path);
+ helper_info.uuid = (app_id ? scim::String (app_id) : scim::String (""));
+ helper_info.name = (pkg_label ? scim::String (pkg_label) : scim::String (""));
+ helper_info.icon = (pkg_icon_path ? scim::String (pkg_icon_path) : scim::String (""));
helper_info.option = scim::SCIM_HELPER_STAND_ALONE | scim::SCIM_HELPER_NEED_SCREEN_INFO |
scim::SCIM_HELPER_NEED_SPOT_LOCATION_INFO | scim::SCIM_HELPER_AUTO_RESTART;