Allow graceful degradation of MediaProfile with broken configuration.
Currently, when media profile declares something unsupported / broken /
missing, MediaProfile will crash. This patch will change the behavior
to gracefully degradation instead. b/147701370 is an example IRL. If
vendor declares profile unsupported in AOSP, GSI image will crash
instead of having a non-working or suboptimally working camera.
Test: Compiles
Bug: 166673022
Signed-off-by: Alex Zhang <difan@google.com>
Change-Id: Icc0f85fe0aac748be4d4f7dd94814f615d528a03
Loading
Please register or sign in to comment