msm8998: Add shading mode to templates, fix hot pixel mode
Shading mode is required by spec to be present, but wasn't covered in
CTS. Default to FAST for everything but STILL_CAPTURE.
Hot pixel mode was also not covered, and needs to be HIGH_QUALITY if
that is supported, for STILL_CAPTURE.
Also clean up a little bit of oddness in static metadata with regards
to hot pixel mode.
Test: Shading mode and hot pixel mode appear in 'dumpsys media.camera
-t' output, new CTS tests pass
Bug: 63629224
Bug: 70565622
Change-Id: I3764b28c48c45160d29a6573f8917196112a4262
1 file changed