summaryrefslogtreecommitdiffstats
path: root/liblight/lights.c
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-20 11:56:21 +0100
committerSteve Block <steveblock@google.com>2011-10-26 09:57:46 +0100
commitfc4d70454282d831c697e50d7e77bdcd938b2bb4 (patch)
treeed289a9e2c3a7aedd2d9dba453a0837d03f2eb0e /liblight/lights.c
parent4539e6b7db5f023be83f48458b02450d194af6f1 (diff)
downloaddevice_samsung_crespo-fc4d70454282d831c697e50d7e77bdcd938b2bb4.zip
device_samsung_crespo-fc4d70454282d831c697e50d7e77bdcd938b2bb4.tar.gz
device_samsung_crespo-fc4d70454282d831c697e50d7e77bdcd938b2bb4.tar.bz2
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I73e1ab4f4eadb55e747b3b2be4b6c1824dce7b2c
Diffstat (limited to 'liblight/lights.c')
-rwxr-xr-xliblight/lights.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/liblight/lights.c b/liblight/lights.c
index ee6416a..02187a7 100755
--- a/liblight/lights.c
+++ b/liblight/lights.c
@@ -37,7 +37,7 @@ static int write_int(char const *path, int value)
already_warned = 0;
- LOGV("write_int: path %s, value %d", path, value);
+ ALOGV("write_int: path %s, value %d", path, value);
fd = open(path, O_RDWR);
if (fd >= 0) {
@@ -78,7 +78,7 @@ static int set_light_backlight(struct light_device_t *dev,
static int close_lights(struct light_device_t *dev)
{
- LOGV("close_light is called");
+ ALOGV("close_light is called");
if (dev)
free(dev);
@@ -91,7 +91,7 @@ static int open_lights(const struct hw_module_t *module, char const *name,
int (*set_light)(struct light_device_t *dev,
struct light_state_t const *state);
- LOGV("open_lights: open with %s", name);
+ ALOGV("open_lights: open with %s", name);
if (0 == strcmp(LIGHT_ID_BACKLIGHT, name))
set_light = set_light_backlight;