diff options
| author | 2019-02-13 15:54:50 -0800 | |
|---|---|---|
| committer | 2019-02-13 18:40:21 -0800 | |
| commit | 1761fce0d661a134bda131f36171ef750725bc16 (patch) | |
| tree | 759ebaa4ff4b2e95981fe9a53ebe91058555cb85 /services/coverage/java | |
| parent | a0d18b60f3a3d771d21749bc77a6f5ec55dc0c45 (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 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions