Android p preview 5
Camera: 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: 70162745
Change-Id: I9087f0f37125eb2074788e983f7e68086b76f0b2
(cherry-picked from e12b44b4ab318e6eea51a2d60da3af5aae4367b6)
1 file changed