commit | 6ffa4f8cfe753b05d216dc70f7cb36d718c510d2 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Thu Oct 12 23:59:31 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Dec 14 21:13:08 2017 +0000 |
tree | da8b22f604c1fdc68570450b68205f511c314cd9 | |
parent | 1963ca074a7b2086c2ea4658a516b594e1d40382 [diff] |
QCamera2: HAL3: Support concurrent camera with Easel We shouldn't call multiple suspend()/resume() when running cameras concurrently. Instead, we should call suspend() after last camera is closed, and call resume() before first camera is opened. Test: testDualCameraPreview CTS Bug: 35960155 Merged-In: Ibdbea409c9f499f747d5a5aeb3d9c7f4b4fdb159 Change-Id: Ibdbea409c9f499f747d5a5aeb3d9c7f4b4fdb159 (cherry picked from commit 121f8315e21a00e964248a58c8f4b861613b7c22)