projects
/
platform
/
core
/
api
/
system-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c0b42
)
Check the type by special function for conditions
71/236271/1
accepted/tizen/unified/20200617.055839
submit/tizen/20200616.085030
author
Kichan Kwon
<k_c.kwon@samsung.com>
Tue, 16 Jun 2020 04:51:02 +0000
(13:51 +0900)
committer
Kichan Kwon
<k_c.kwon@samsung.com>
Tue, 16 Jun 2020 04:51:40 +0000
(13:51 +0900)
- In current, only tizenid use it
Change-Id: I3c985a7d848f40fcacbfd5c5846c7dd082478188
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/system_info.c
patch
|
blob
|
history
diff --git
a/src/system_info.c
b/src/system_info.c
index f340659b421f1dfe6753a774fa040154f4d5e61a..ad28fd6ce09dacb28a2ee5fc15b3f690659f17aa 100644
(file)
--- a/
src/system_info.c
+++ b/
src/system_info.c
@@
-173,7
+173,10
@@
static int system_info_get_type(enum tag_type tag, const char *key,
}
}
- return SYSTEM_INFO_ERROR_INVALID_PARAMETER;
+ if (tag == TAG_TYPE_PLATFORM)
+ return system_info_get_type_file(key, type);
+ else
+ return SYSTEM_INFO_ERROR_INVALID_PARAMETER;
}
static int system_info_get_bool(enum tag_type tag, const char *key, bool *value)