[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: Ibc722a16f1ab520006fce69684f9e4411148784d
if (for_gbar && !descfile) {
descfile = widget_util_uri_to_path(id); /* In case of the NULL descfilename, use the ID */
+ if (!descfile) {
+ ErrPrint("Invalid descfile: %s\n", id);
+ return WIDGET_ERROR_INVALID_PARAMETER;
+ }
}
info = widget_provider_buffer_find_buffer(for_gbar ? WIDGET_TYPE_GBAR : WIDGET_TYPE_WIDGET, pkgname, id);