summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorDan Gittik <dangittik@google.com>2019-01-30 17:31:34 +0000
committerDan Gittik <dangittik@google.com>2019-01-31 18:39:53 +0000
commitfe87cf3e5aa9a9eeab94260937f3cd40e36ee0af (patch)
tree54ffff91b0944cd9b0382b2ac83655189d579ffd /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent64ca10b75bb7e8b8b9633b57f2a5fcaeb3c395b3 (diff)
Added hysteresis check to screen brightness.
Previously, the AutoBrightnessController would suppress updates if the ambient brightness hasn't changed enough, to avoid minor changes that wouldn't really matter but probably annoy the user. However, if the brightness curve was rather flat, a large change in the ambient brightness might translate to a small and unnecessary change in the screen brightness that would still get applied. So, this CL adds similar hysteresis checks for the screen brightness. Test: manual - simulate an ambient brightness that would cause a minor change in the screen brightness, and make sure it is suppressed (and the appropriate logs are emitted). Change-Id: I7c229028d216c56a0fe4fb2a38ea65bed2e6906a Merged-In: I41aefb5a9a82c9b598cf31f374f338899ffc9b11 Fixes: 122162842
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions