diff options
author | 2012-01-05 23:22:43 +0000 | |
---|---|---|
committer | 2012-01-06 10:07:54 +0000 | |
commit | 8564c8da817a845353d213acd8636b76f567b234 (patch) | |
tree | 71acbd8ace822c769aef917629bf5a079f63274d /libs/camera/Camera.cpp | |
parent | c42e6a0bed2c88fd03466c5104d62d7f98e68768 (diff) |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
Diffstat (limited to 'libs/camera/Camera.cpp')
-rw-r--r-- | libs/camera/Camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/camera/Camera.cpp b/libs/camera/Camera.cpp index eef1dd2ef2c1..d28b7f8d8206 100644 --- a/libs/camera/Camera.cpp +++ b/libs/camera/Camera.cpp @@ -47,7 +47,7 @@ const sp<ICameraService>& Camera::getCameraService() binder = sm->getService(String16("media.camera")); if (binder != 0) break; - LOGW("CameraService not published, waiting..."); + ALOGW("CameraService not published, waiting..."); usleep(500000); // 0.5 s } while(true); if (mDeathNotifier == NULL) { @@ -397,13 +397,13 @@ void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp< if (listener != NULL) { listener->postDataTimestamp(timestamp, msgType, dataPtr); } else { - LOGW("No listener was set. Drop a recording frame."); + ALOGW("No listener was set. Drop a recording frame."); releaseRecordingFrame(dataPtr); } } void Camera::binderDied(const wp<IBinder>& who) { - LOGW("ICamera died"); + ALOGW("ICamera died"); notifyCallback(CAMERA_MSG_ERROR, CAMERA_ERROR_SERVER_DIED, 0); } @@ -411,7 +411,7 @@ void Camera::DeathNotifier::binderDied(const wp<IBinder>& who) { ALOGV("binderDied"); Mutex::Autolock _l(Camera::mLock); Camera::mCameraService.clear(); - LOGW("Camera server died!"); + ALOGW("Camera server died!"); } sp<ICameraRecordingProxy> Camera::getRecordingProxy() { |