summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorAlex Salo <asalo@google.com>2019-02-13 15:54:50 -0800
committerAlex Salo <asalo@google.com>2019-02-13 18:40:21 -0800
commit1761fce0d661a134bda131f36171ef750725bc16 (patch)
tree759ebaa4ff4b2e95981fe9a53ebe91058555cb85 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parenta0d18b60f3a3d771d21749bc77a6f5ec55dc0c45 (diff)
Fix whenToCheck returned by AttentionDetector
There could be a situation in which updateUserActivity would not be called within [dim_t-3s(attention_timeout), dim_t], in which case we will miss the "bad" event. Fix that by returning the computed whenToCheck value, which is nextScreenDimming-attention_timeout. Test: manually with logging Bug: 111939367 Change-Id: I66e4a1e86582afe06a277ba8dbb127583940ea19
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions