commit | f6e09d200c3e043737adcdadd52310ebbd1b19da | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Thu Oct 04 17:01:25 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Oct 05 16:14:48 2012 -0700 |
tree | ffce307ae9ce6dbc4e9b36e0353f48f563818520 | |
parent | 7373cbe85e617345f7002256a4be389fe62af913 [diff] |
Camera2: Unconditionally shut down streams on disconnect. stopPreviewL may do nothing in certain states. Stop streams directly to avoid those failures, so that we always maintain the HAL interface invariant that streams referenced by in-flight requests are never deleted. Bug: 7276954 Change-Id: Ic4cffc43036f4944684d941981a43d6dd1dce7af