commit | 17d817a889da6be3f77da83ef0b3547461b4a6a6 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Fri Mar 09 15:58:43 2018 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Fri Mar 09 16:01:06 2018 -0800 |
tree | d584459e9e51318ff731a37da028a9619abd237d | |
parent | a3819421700f9a743c8c515029cac798555946f6 [diff] |
Camera: Do not forward capture_result in error condition If HAL calls process_capture_result with invalid buffers, the HIDL wrapper shouldn't forward it to camera service, since the CaptureResult structure may not be completely initialized. Test: Run GoogleCamera Bug: 74433802 Change-Id: Iaf20b542af5b11ffbedf709e99137b69d77a9ad3