commit | 1d5146df8faed98fc15885f757150c75fbb5b189 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Fri Jun 12 18:50:11 2020 +0800 |
committer | Yichi Chen <yichichen@google.com> | Fri Jun 12 19:15:52 2020 +0800 |
tree | 0a3c074bd66835a08a294dc68a5197f68d509eff | |
parent | 680edcf1209d440420de98300a33f8dac1cb8312 [diff] |
SF: Handle the empty hdr10plus metadata in setPerFrameMetadata There was a case that Media enabled HDR10PLUS in validTypes without passing any metadata.The patch handles the error to avoid the crash of SurfaceFlinger. Bug: 157868992 Test: atest android.mediav2.cts.CodecDecoderSurfaceTest Change-Id: I57275672ef2fe8079e652094e77a0a50de10c5b9