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
Change-Id: Ibdbea409c9f499f747d5a5aeb3d9c7f4b4fdb159
1 file changed
tree: 068d1b25cbb265557026f7abe0fe6937a00f12a4
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk