QCamera2: HAL3: Remove unhelpful error message
Bug: 27074407
Change-Id: I2a29fdffc477afa97893a9cc64d6ce984468727d
diff --git a/camera/QCamera2/HAL3/QCamera3Channel.cpp b/camera/QCamera2/HAL3/QCamera3Channel.cpp
index 22adde5..781fa88 100644
--- a/camera/QCamera2/HAL3/QCamera3Channel.cpp
+++ b/camera/QCamera2/HAL3/QCamera3Channel.cpp
@@ -2827,18 +2827,13 @@
if (obj->mStreams[0]->getMyHandle() ==
src_frame->bufs[0]->stream_id) {
snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx;
- } else {
- ALOGE("%s: Snapshot stream id %d and source frame %d don't match!",
- __func__, obj->mStreams[0]->getMyHandle(),
- src_frame->bufs[0]->stream_id);
+
+ if (0 <= snapshotIdx) {
+ Mutex::Autolock lock(obj->mFreeBuffersLock);
+ obj->mFreeBufferList.push_back((uint32_t)snapshotIdx);
+ }
}
}
- if (0 <= snapshotIdx) {
- Mutex::Autolock lock(obj->mFreeBuffersLock);
- obj->mFreeBufferList.push_back((uint32_t)snapshotIdx);
- } else {
- ALOGE("%s: Snapshot buffer not found!", __func__);
- }
CDBG("%s: Issue Callback", __func__);
if (obj->mChannelCB) {