commit | 8f0a38051aabc001b3f6bf4e29ebcf78cc9c280a | [log] [tgz] |
---|---|---|
author | yihsing.shen <yihsing.shen@mediatek.com> | Tue Sep 20 14:01:44 2022 +0800 |
committer | Lili Lin <lili.lin@mediatek.com> | Thu Nov 24 17:41:50 2022 +0800 |
tree | 9ba98ad8a961e6811cb0ba1ec5ac654c46bc1f91 | |
parent | 39983c6e5d8095d66853984a4c524b80a1dbc0c4 [diff] |
Fix Surface HDR meta reset Camera hal uses IMapper to set HDR metadata instead of Surface APIs. However, Surface would overwrite it with default value, causing HDR metadata lost. We use flags to track whether Surface APIs have been called or not. And, we overwrite metadata when those APIs have been called. Bug: 255389049 Test: hdr test pass Change-Id: I6d14d4bfc7fae18ba7b2fde9bf371a7d80255319