commit | b20c5367514dc976afbc7f074ad5b8a49bbc592b | [log] [tgz] |
---|---|---|
author | codeworkx <daniel.hillenbrand@codeworkx.de> | Sun Jul 01 16:15:52 2012 +0200 |
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | Sun Jul 01 16:18:20 2012 +0200 |
tree | c2c1fea30eb963aa6f616d92f93467d42fe08fec | |
parent | 679d203f63c9c6c64825b2df0b0f005e4aaaeee4 [diff] |
fix for fix keypad lighting up when screen backlight auto-adjusts Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238
diff --git a/exynos4/exynos4x12/liblights/lights.c b/exynos4/exynos4x12/liblights/lights.c index de2f653..e8336d2 100644 --- a/exynos4/exynos4x12/liblights/lights.c +++ b/exynos4/exynos4x12/liblights/lights.c
@@ -126,7 +126,7 @@ struct light_state_t const *state) { int err = 0; - status int s_previous_brightness = -1; + static int s_previous_brightness = -1; int brightness = rgb_to_brightness(state); pthread_mutex_lock(&g_lock);