projects
/
platform
/
core
/
system
/
system-popup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8170501
)
fix wrong condition for exception case
54/103954/2
author
lokilee73
<changjoo.lee@samsung.com>
Mon, 12 Dec 2016 02:09:07 +0000
(11:09 +0900)
committer
lokilee73
<changjoo.lee@samsung.com>
Mon, 12 Dec 2016 02:11:40 +0000
(11:11 +0900)
Change-Id: I3ae21806c4da3a87ae1dfe9f41ad33a308e107dc
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/powerkey/powerkey-wearable.c
patch
|
blob
|
history
diff --git
a/src/powerkey/powerkey-wearable.c
b/src/powerkey/powerkey-wearable.c
index
0dd614d
..
21d298f
100755
(executable)
--- a/
src/powerkey/powerkey-wearable.c
+++ b/
src/powerkey/powerkey-wearable.c
@@
-442,7
+442,7
@@
static void set_flight_icon(int value)
{
int ret = 0;
- if (value > 1
&&
value < 0) {
+ if (value > 1
||
value < 0) {
_E("Invalid VCONFKEY_TELEPHONY_FLIGHT_MODE value");
return;
}