commit | b3a0fb55cf567043db7470f22f791858a62d2cbf | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Thu Sep 13 17:24:08 2018 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Fri Sep 14 10:40:09 2018 -0700 |
tree | 9a6a167a39303021eac8cad9a3bf8a6a2c249109 | |
parent | daba8f4f19568a2cd8bf67c5e1dadb65409a7e6a [diff] |
Camera: Fix high speed recording failure due to prepare() In case application sends 2 consecutive setRepeatingBurst, the first request may be preparing the video stream, whiel the second request fails the isPreparing check. Fix this by distinguishing between internal and external prepare. For internal prepare, allow new requests to come through to the request thread. Bug: 114422231 Bug: 109830370 Test: Camera CTS Change-Id: I55a7271e3924f2cb8cf9c452e934b070a82bc4ca