summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-05-20 09:04:36 +0000
committer Rupesh Bansal <brup@google.com> 2024-05-20 09:13:26 +0000
commit786c3514be5d95806674db0af2b9242a9ca4b6e4 (patch)
tree6f3cd46b750e5bb07f5116007d224bc774e474cc /libs/androidfw/StringPool.cpp
parent538cb7549764e00059202e006fadd2bc006b22fd (diff)
Apply autobrightness adjustments while checking the strategy validity
For checking the validity of autobrightness, we first check check if the value in autobrightness controller is a valid one, and qualify the strategy accordingly. However, the adjustments are not applied when this validation is done, but instead applied when the actual brightness is loaded while executing the strategy. While this is fine for most cases, for some corner cases(like brightness being invalid because of invalid lux), auto brightness adjustments are not applied. Bug: 341643213 Test: atest AutomaticBrightnessStrategyTest Change-Id: I4ebce5905b9237af8bb747158a3a9fcc565617f4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions