commit | 359adca4b7cf734ab9a0d27a005b9f6dfdc0ad8e | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Wed Oct 30 10:12:46 2019 -0700 |
committer | Emilian Peev <epeev@google.com> | Wed Oct 30 21:06:40 2019 +0000 |
tree | 741e8f07f2f56c89d2e42e32233d5c4e9d6c0c37 | |
parent | 2218ec1a22bb644669b7c142cea1a06c00abcf49 [diff] |
Camera: Check consumer interface before disconnecting The internal buffer queue and respective 'mConsumer' may never get initialized in case the connection and/or configuration of client shared output surfaces fails. To avoid possible instabilities check whether the consumer interface is valid before trying to disconnect. Bug: 143506890 Test: atest cts/tests/camera/src/android/hardware/camera2/cts/MultiViewTest.java Change-Id: Ia533233444fd548ddb52f4fde06212a21bc843bc