summaryrefslogtreecommitdiffstats
path: root/include/camera/VendorTagDescriptor.h
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 /include/camera/VendorTagDescriptor.h
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 'include/camera/VendorTagDescriptor.h')
-rw-r--r--include/camera/VendorTagDescriptor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/camera/VendorTagDescriptor.h b/include/camera/VendorTagDescriptor.h
index 0fefe1a..ea21d31 100644
--- a/include/camera/VendorTagDescriptor.h
+++ b/include/camera/VendorTagDescriptor.h
@@ -63,7 +63,9 @@ class VendorTagDescriptor
*
* Returns OK on success, or a negative error code.
*/
- status_t writeToParcel(/*out*/Parcel* parcel) const;
+ status_t writeToParcel(
+ /*out*/
+ Parcel* parcel) const;
// Static methods:
@@ -93,7 +95,7 @@ class VendorTagDescriptor
*
* Returns OK on success, or a negative error code.
*/
- static status_t setAsGlobalVendorTagDescriptor(sp<VendorTagDescriptor>& desc);
+ static status_t setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc);
/**
* Clears the global vendor tag descriptor used by this process.