projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac0168
)
sensord: change the style to URI if it is unknown type
21/160521/2
author
kibak.yoon
<kibak.yoon@samsung.com>
Thu, 16 Nov 2017 12:14:03 +0000
(21:14 +0900)
committer
Kibak Yoon
<kibak.yoon@samsung.com>
Mon, 20 Nov 2017 02:34:56 +0000
(
02:34
+0000)
- Bug Fix
Change-Id: Id56d8bad087a13db8dda4e441b75e0969235604b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/shared/sensor_utils.cpp
patch
|
blob
|
history
diff --git
a/src/shared/sensor_utils.cpp
b/src/shared/sensor_utils.cpp
index
9cd8141
..
9bae0e6
100644
(file)
--- a/
src/shared/sensor_utils.cpp
+++ b/
src/shared/sensor_utils.cpp
@@
-128,7
+128,7
@@
const char *sensor::utils::get_uri(sensor_type_t type)
{
auto it = types.find(type);
if (it == types.end())
- return
"Unknown Type"
;
+ return
types[UNKNOWN_SENSOR]
;
return it->second;
}