aboutsummaryrefslogtreecommitdiffstats
path: root/liblights
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-09-14 16:51:57 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-09-15 16:38:05 +0200
commitf7d3b8ec6fd67be159137e3a4cba5aa03b5a5881 (patch)
tree11dfafa92df2bb36a8737cceeec092f85965c1d5 /liblights
parent187e393c37dbec4c24fce7b5f857e3e44b2d9325 (diff)
downloaddevice_samsung_espressowifi-f7d3b8ec6fd67be159137e3a4cba5aa03b5a5881.zip
device_samsung_espressowifi-f7d3b8ec6fd67be159137e3a4cba5aa03b5a5881.tar.gz
device_samsung_espressowifi-f7d3b8ec6fd67be159137e3a4cba5aa03b5a5881.tar.bz2
liblights: remove logcat spam
Change-Id: I687d810948195ccd1c8e865092101f58ddd30e0e
Diffstat (limited to 'liblights')
-rw-r--r--liblights/lights.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/liblights/lights.c b/liblights/lights.c
index aae53f3..dc3fdb4 100644
--- a/liblights/lights.c
+++ b/liblights/lights.c
@@ -16,7 +16,6 @@
*/
#define LOG_TAG "lights"
-#define LOG_NDEBUG 0
#include <cutils/log.h>
#include <stdint.h>
@@ -84,7 +83,7 @@ set_light_backlight(struct light_device_t *dev,
int brightness = rgb_to_brightness(state);
pthread_mutex_lock(&g_lock);
- ALOGD("set_light_backlight brightness=%d\n", brightness);
+ ALOGV("set_light_backlight brightness=%d\n", brightness);
err = write_int(LCD_FILE, brightness);
pthread_mutex_unlock(&g_lock);
@@ -93,7 +92,6 @@ set_light_backlight(struct light_device_t *dev,
static int close_lights(struct light_device_t *dev)
{
- ALOGV("close_light is called");
if (dev)
free(dev);