commit | 16a2ada049447c156648812b94d25be07869f284 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Aug 27 14:41:33 2014 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Thu Aug 28 15:47:50 2014 -0700 |
tree | ef74c94c21a8ce5989cca904c87b36146993f58f | |
parent | 1754351d9199721e7e7943461689e399ef015260 [diff] |
CameraService: Create a dummy stream when 0 streams are requested. A workaround for a camera device HAL v3.2 or older specification hole - it's not acceptable to configure_streams with 0 output streams. However, we allow for this at the public API level, to allow an application to release all output streams. So in this case, create a dummy stream that doesn't actually do anything as a placeholder. Bug: 17220694 Change-Id: Ib25242ffc2c9f2b2f619fd5fe6d652266579da85