summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-07-23 03:08:53 +0200
committerKalimochoAz <calimochoazucarado@gmail.com>2012-07-23 03:08:53 +0200
commita2008a72fc0157453800a520222e100078c69f7d (patch)
treebdcf5daecad1aac95f17528a4f80c978c943b04c
parent8e8baa74c467a51dcf1338d3096875f5a0baf868 (diff)
downloaddevice_samsung_crespo-a2008a72fc0157453800a520222e100078c69f7d.zip
device_samsung_crespo-a2008a72fc0157453800a520222e100078c69f7d.tar.gz
device_samsung_crespo-a2008a72fc0157453800a520222e100078c69f7d.tar.bz2
Replace LOG by ALOG
Change-Id: I7897574a2df30fd88edb6fa58b20fd6a5436ecd7
-rwxr-xr-xlibcamera/SecCameraHWInterface.cpp6
-rwxr-xr-xliblight/lights.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp
index 63574e6..1f60d69 100755
--- a/libcamera/SecCameraHWInterface.cpp
+++ b/libcamera/SecCameraHWInterface.cpp
@@ -1965,7 +1965,7 @@ status_t CameraHardwareSec::setParameters(const CameraParameters& params)
// touch to focus
const char *new_focus_area = params.get(CameraParameters::KEY_FOCUS_AREAS);
if (new_focus_area != NULL) {
- LOGI("focus area: %s", new_focus_area);
+ ALOGI("focus area: %s", new_focus_area);
SecCameraArea area(new_focus_area);
if (!area.isDummy()) {
@@ -1975,9 +1975,9 @@ status_t CameraHardwareSec::setParameters(const CameraParameters& params)
int x = area.getX(width);
int y = area.getY(height);
- LOGI("area=%s, x=%i, y=%i", area.toString8().string(), x, y);
+ ALOGI("area=%s, x=%i, y=%i", area.toString8().string(), x, y);
if (mSecCamera->setObjectPosition(x, y) < 0) {
- LOGE("ERR(%s):Fail on mSecCamera->setObjectPosition(%s)", __func__, new_focus_area);
+ ALOGI("ERR(%s):Fail on mSecCamera->setObjectPosition(%s)", __func__, new_focus_area);
ret = UNKNOWN_ERROR;
}
}
diff --git a/liblight/lights.c b/liblight/lights.c
index 7f2d91d..c760411 100755
--- a/liblight/lights.c
+++ b/liblight/lights.c
@@ -77,7 +77,7 @@ static int set_light_notifications(struct light_device_t* dev,
v = 1;
} else
v = 0;
- LOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
+ ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
ret = write_int(LED_FILE, v);
pthread_mutex_unlock(&g_lock);
return ret;