Fix the issue of using SilkFx crash on non-HDR-supported phone.
- ideally on non-HDR-supported phone, `Display#isHdrSdrRatioAvailable` should be false, while it's not the case in such phone now. The reason is hdrSdrRatio always gets updated. We should reject such update if there is no SdrHdrRatioMap loaded. Bug: 280804824 Test: play with SilkFX; LocalDisplayAdapterTest Change-Id: If162fc15cae033d056f22d02625ad955006dd65a
Loading
Please register or sign in to comment