summaryrefslogtreecommitdiffstats
path: root/camera/VendorTagDescriptor.cpp
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2014-03-17 14:00:29 -0700
committerIgor Murashkin <iam@google.com>2014-03-17 14:00:29 -0700
commite1445da74730473a66a3ae8414e940aebfe6585d (patch)
tree4156e14e4528fffe1ec29f48bffd78c2fcd0d786 /camera/VendorTagDescriptor.cpp
parent1c2b6e5e9671a5ea9eb26d24b772bb26bfa6d107 (diff)
downloadframeworks_av-e1445da74730473a66a3ae8414e940aebfe6585d.zip
frameworks_av-e1445da74730473a66a3ae8414e940aebfe6585d.tar.gz
frameworks_av-e1445da74730473a66a3ae8414e940aebfe6585d.tar.bz2
camera2: Don't log vendor tag errors when camera HAL too old
Change-Id: Iac3d23284230c95c85ee404abbf9b22df1ae721c
Diffstat (limited to 'camera/VendorTagDescriptor.cpp')
-rw-r--r--camera/VendorTagDescriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/VendorTagDescriptor.cpp b/camera/VendorTagDescriptor.cpp
index 89b0ea8..a0a6a51 100644
--- a/camera/VendorTagDescriptor.cpp
+++ b/camera/VendorTagDescriptor.cpp
@@ -236,7 +236,7 @@ status_t VendorTagDescriptor::writeToParcel(Parcel* parcel) const {
return res;
}
-status_t VendorTagDescriptor::setAsGlobalVendorTagDescriptor(sp<VendorTagDescriptor>& desc) {
+status_t VendorTagDescriptor::setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc) {
status_t res = OK;
Mutex::Autolock al(sLock);
sGlobalVendorTagDescriptor = desc;