QCamera3: Don't release HDR+ listener if it is invalid

If Easel is missing on the device, then 'mQCamera3HdrPlusListenerThread'
will not get initialized. Avoid releasing this listener unless the
strong pointer is valid.

Bug: 70256972
Test: Camera CTS,
run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: Ibb824719b42a85489cced748524c22a9548d4ef9
1 file changed
tree: a38f8a320f3b3ae3e7cdb7e2654995f9b551c77a
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk