commit | 91c14e8cd0274e4e76e8a12df4213d476d034d1a | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Aug 21 17:56:57 2017 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Aug 22 09:06:46 2017 -0700 |
tree | af4be0381652b14f252cfcef2544c163a76f7211 | |
parent | fec3531ba9ce10c9fde7b3ca4b20d3a308b057fe [diff] |
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