commit | 3b93a85b6a7e1938527bb0986477743478be764d | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Sep 09 14:59:59 2019 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Sep 09 14:59:59 2019 -0700 |
tree | 25639a92d2527fb2a2437bcc13943ea99f6fa5c2 | |
parent | 4096a8064064741cf3aae8e2f863a5113293ed59 [diff] |
Camera: fix NPE in buffer error callback Check if the error stream has been removed first. Also move some code in submitCaptureRequest so that access to mConfiguredOutputs is within scope of mInterfaceLock, which matches all other places accessing mConfiguredOutputs in the file. Test: Camera CTS Bug: 140374093, 140527066 Change-Id: I84921eb3a555f67a006548865f34502ab978e33b