Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbbae482 authored by Sally Qi's avatar Sally Qi
Browse files

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
parent c6eeba23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment