QCamera2: HAL3: Avoid modifying metadata in place twice

ae_regions/af_regions/face within metadata are modified in-place to
convert from sensor space to active array space. In the case of
jump-start, the same metadata structure is used for 2 capture_result,
resulting in two in-place modifications.

Fix the issue by making a copy of those fields before calling
toActiveArray.

Test: Camera CTS
Bug: 64667574
Change-Id: I9c6c7b047ea62321c4d27cdb3bdbba5a97f5385a
1 file changed
tree: af4be0381652b14f252cfcef2544c163a76f7211
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk