diff options
| author | Alex Salo <asalo@google.com> | 2020-10-07 15:30:00 -0700 | 
|---|---|---|
| committer | Alex Salo <asalo@google.com> | 2020-11-02 10:28:11 -0800 | 
| commit | 2a1e0c46c4c00aa183537b9daad7db688a8b2842 (patch) | |
| tree | 3bb5de3bccac304fde317f091f0ecd6706d8fc9c /docs/html/sdk/api_diff/10/changes | |
| parent | f2b1434522c2d6dde828d93b67b5fcb9030c70d8 (diff) | |
Listen DeviceConfig changes
DeviceConfig reads are not free, and AttentionDetector code sits on a
critical system path. Avoid reading DeviceConfig on each invocation,
add a onChangeListener instead.
Bug: 169427927
Test: manually and atest AttentionDetectorTest
Change-Id: Icb89f78f07207ee8e80a11f16b0f03ab578f4ea6
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions
