DO NOT MERGE QCamera3: Fix Easel HDR+ mode after flush

Reset mFirstPreviewIntentSeen in flush if HAL intends to restart the
channel after flush. Without this, Easel HDR+ mode will not be
enabled after flush, unless a new session is configured.

Create a HDR+ client listener handling thread to avoid handling
HDR+ client callbacks in HAL in the callback thread, which may lead
to deadlocks.

Test: Camera CTS
Bug: 67112292
Bug: 65448794
Change-Id: I3f1ad5d6a610b8e0f21e476c49906b461d8c36b2
(cherry picked from commit 6316489bf55ba033c035bcdf044e3cb48996fb31)
5 files changed
tree: f69a432b5cfb0af2747068cb59eeb20422e00b7e
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk