summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Sally Qi <sallyqi@google.com> 2023-05-23 13:14:41 -0700
committer Sally Qi <sallyqi@google.com> 2023-05-25 09:34:27 -0700
commitdbbae482baf12f4edc9fe00493a30d99ec57c9a4 (patch)
tree2b3ba849357fcfe34439487dcb8bda03a45b909e /libs/androidfw/FileStream.cpp
parentc6eeba236f039cf2956d243681d6acf5cc53554f (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