summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuchit Sharma <ruchits@nvidia.com>2014-11-04 12:17:27 -0500
committerZhijun He <zhijunhe@google.com>2014-12-05 17:37:22 +0000
commit9257000c453c1a6f6bf073ff0bf3ba7ef9baf183 (patch)
treeff39be5d77cd87e41e8ec611e7a66057c2e23e4a
parentd6e7f1e1f8b1dfa6a87c7c0b1a5c68d435096b01 (diff)
downloadframeworks_av-9257000c453c1a6f6bf073ff0bf3ba7ef9baf183.zip
frameworks_av-9257000c453c1a6f6bf073ff0bf3ba7ef9baf183.tar.gz
frameworks_av-9257000c453c1a6f6bf073ff0bf3ba7ef9baf183.tar.bz2
camera: fix logging in ZslProcessor to avoid spam
AF state mismatch while selecting ZSL candidate should not be treated as a warning. This results into undesriable spam in the logs. ALso, using ALOGVV is consistent with how AE state mismatch is handled in ZslProcessor3.cpp Bug: 18634318 Change-Id: Ia9d7f2bb98f784990b1a6f923983c35f622c3791
-rw-r--r--services/camera/libcameraservice/api1/client2/ZslProcessor3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/api1/client2/ZslProcessor3.cpp b/services/camera/libcameraservice/api1/client2/ZslProcessor3.cpp
index f110b66..470a6d6 100644
--- a/services/camera/libcameraservice/api1/client2/ZslProcessor3.cpp
+++ b/services/camera/libcameraservice/api1/client2/ZslProcessor3.cpp
@@ -592,7 +592,7 @@ nsecs_t ZslProcessor3::getCandidateTimestampLocked(size_t* metadataIdx) const {
if (afState != ANDROID_CONTROL_AF_STATE_PASSIVE_FOCUSED &&
afState != ANDROID_CONTROL_AF_STATE_FOCUSED_LOCKED &&
afState != ANDROID_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED) {
- ALOGW("%s: ZSL queue frame AF state is %d is not good for capture, skip it",
+ ALOGVV("%s: ZSL queue frame AF state is %d is not good for capture, skip it",
__FUNCTION__, afState);
continue;
}