From e1445da74730473a66a3ae8414e940aebfe6585d Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Mon, 17 Mar 2014 14:00:29 -0700 Subject: camera2: Don't log vendor tag errors when camera HAL too old Change-Id: Iac3d23284230c95c85ee404abbf9b22df1ae721c --- include/camera/VendorTagDescriptor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/camera/VendorTagDescriptor.h') 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& desc); + static status_t setAsGlobalVendorTagDescriptor(const sp& desc); /** * Clears the global vendor tag descriptor used by this process. -- cgit v1.1