projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee9375
)
Change auto brightness change logic.
author
sh.pi
<sh.pi@samsung.com>
Fri, 31 May 2013 10:20:30 +0000
(19:20 +0900)
committer
Gerrit Code Review
<gerrit@gerrit.vlan144.tizendev.org>
Fri, 6 Sep 2013 07:35:04 +0000
(07:35 +0000)
Brightness is changed frequently when finger is moving on light sensor.
Now brightness is changed only when values of brightness about 4 times is the same.
Change-Id: Iceefce7bf1877e1406fd39793b7f1d333715b6fe
src/display/lsensor.c
patch
|
blob
|
history
diff --git
a/src/display/lsensor.c
b/src/display/lsensor.c
index
f8e6599
..
8efdaa7
100644
(file)
--- a/
src/display/lsensor.c
+++ b/
src/display/lsensor.c
@@
-72,6
+72,7
@@
static bool alc_handler(void* data)
_I("fail to load light data : %d", (int)light_data.values[0]);
fault_count++;
} else {
+ fault_count = 0;
int tmp_value;
int cmd;
int ret;