commit | 9af68f16d13522a72e710635065852885f859f2b | [log] [tgz] |
---|---|---|
author | Alex Salo <asalo@google.com> | Fri Feb 15 13:50:11 2019 -0800 |
committer | Alex Salo <asalo@google.com> | Thu Feb 28 11:01:16 2019 -0800 |
tree | cab7112c02f99e1331d27569e88a9d6bf45a6de7 | |
parent | 0072f63eef049e11f65bb9dcac8b8bac87c19b6e [diff] |
Put AttentionDetector behind a setting Observe the setting change and user change to always have fresh value of isEnabled in AttentionDetector. If disabled, don't do anything. Bug: 111939367 Test: atest AttentionDetectorTest Change-Id: I6625dbe408c92ca644f2110123c57207433ac519