projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a199f7
)
Fix add metadata filter value string
27/100827/1
accepted/tizen/3.0/common/20161130.065304
accepted/tizen/3.0/ivi/20161130.012622
accepted/tizen/3.0/mobile/20161130.012509
accepted/tizen/3.0/tv/20161130.012548
accepted/tizen/3.0/wearable/20161130.012605
submit/tizen_3.0/20161129.101050
author
Sangyoon Jang
<s89.jang@samsung.com>
Tue, 29 Nov 2016 10:03:00 +0000
(19:03 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Tue, 29 Nov 2016 10:03:00 +0000
(19:03 +0900)
Set if valid value passed.
Change-Id: I50d0937f0500f88d477d3ab9ee49e5fe5727832e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/pkgmgrinfo_appinfo.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_appinfo.c
b/src/pkgmgrinfo_appinfo.c
index
243af6f
..
bcf9c0c
100644
(file)
--- a/
src/pkgmgrinfo_appinfo.c
+++ b/
src/pkgmgrinfo_appinfo.c
@@
-2991,7
+2991,7
@@
API int pkgmgrinfo_appinfo_metadata_filter_add(
/* value can be NULL.
* In that case all apps with specified key should be displayed
*/
- if (value) {
+ if (value
&& strlen(value)
) {
ret = pkgmgrinfo_appinfo_filter_add_string(handle,
PMINFO_APPINFO_PROP_APP_METADATA_VALUE, value);
if (ret != PMINFO_R_OK)