commit | c98bd8d9bf81663b5cd9c79e79d6e7869c1146e6 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Mon Jul 07 12:44:10 2014 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Mon Jul 07 19:48:24 2014 +0000 |
tree | cdb126f44d22c81c3271757b7c61f4a4d6cec52e | |
parent | 5c68f959eaa2e02fed5643c78e281fff42bcc0a2 [diff] |
Camera3: only return input buffer when it is sent in request This is to WAR the case where HAL sends non-NULL input_buffer in capture result even capture framework doesn't send input buffer in the request. It's very likely the input_buffer is uninitialized, and we shouldn't use it. Log a warning for such case as well. Bug: 16115675 Bug: 16117312 Change-Id: Ib299b45fbfe084059a9f546ded239c8094b039e2