projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c64cd
)
tizen_util: fix tizen profile wearable condition to have only 1 or 0 values
90/126590/1
accepted/tizen/unified/20170426.061815
submit/tizen/20170425.111935
author
SangHyeon Lee
<sh10233.lee@samsung.com>
Mon, 24 Apr 2017 08:15:41 +0000
(17:15 +0900)
committer
SangHyeon Lee
<sh10233.lee@samsung.com>
Mon, 24 Apr 2017 08:16:52 +0000
(17:16 +0900)
Change-Id: I1d68a9866393bb59329d6da44ed84f65890e5e80
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
src/lib/tizen_util.c
patch
|
blob
|
history
diff --git
a/src/lib/tizen_util.c
b/src/lib/tizen_util.c
index bd7bdb298095d33047694b1dfd73ca528842eb8b..45aa9a893a4616f028119d5c37cf7f8573497e69 100644
(file)
--- a/
src/lib/tizen_util.c
+++ b/
src/lib/tizen_util.c
@@
-11,7
+11,9
@@
char tizen_util_probe_profile_wearable()
{
const char *profile_name;
- if (!_tizen_profile_wearable != -1) return _tizen_profile_wearable;
+ if (_tizen_profile_wearable == 1 ||
+ _tizen_profile_wearable == 0)
+ return _tizen_profile_wearable;
profile_name = elm_config_profile_get();
if (!profile_name)