Camera: Clean up warnings and set -Werror
- Also fix error logging template inconsistency
- Also add a few error handling cases into camera2 NDK
to deal with previously-ignored error codes
Bug: 27149500
Change-Id: I8f1f4c72252dd48d652f24b595b642199f20c327
diff --git a/camera/camera2/OutputConfiguration.cpp b/camera/camera2/OutputConfiguration.cpp
index 2c2c90b..3247d0d 100644
--- a/camera/camera2/OutputConfiguration.cpp
+++ b/camera/camera2/OutputConfiguration.cpp
@@ -80,8 +80,8 @@
mRotation = rotation;
mSurfaceSetID = setID;
- ALOGV("%s: OutputConfiguration: bp = %p, name = %s", __FUNCTION__,
- mGbp.get(), String8(surfaceShim.name).string());
+ ALOGV("%s: OutputConfiguration: bp = %p, name = %s, rotation = %d, setId = %d", __FUNCTION__,
+ mGbp.get(), String8(surfaceShim.name).string(), mRotation, mSurfaceSetID);
return err;
}