diff options
| author | 2023-05-23 13:14:41 -0700 | |
|---|---|---|
| committer | 2023-05-25 09:34:27 -0700 | |
| commit | dbbae482baf12f4edc9fe00493a30d99ec57c9a4 (patch) | |
| tree | 2b3ba849357fcfe34439487dcb8bda03a45b909e /libs/androidfw/FileStream.cpp | |
| parent | c6eeba236f039cf2956d243681d6acf5cc53554f (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions