commit | 31f241cc63c189bc42a89f8cce54c8024840a5a4 | [log] [tgz] |
---|---|---|
author | Ahaan Ugale <augale@google.com> | Tue May 25 10:29:09 2021 -0700 |
committer | Ahaan Ugale <augale@google.com> | Tue May 25 18:59:29 2021 +0000 |
tree | c04d713fc90ca732b7ca8e960218bcad8159fdfe | |
parent | 87d4c9a9ca5ff67beb37230778f8363cbc49db02 [diff] |
Hotword: Add onStopDetection() for software detectors. For DSP-based detection, stopRecognition() disables detection at the sound trigger layer. For software detection, the HotwordDetectionService must be notified so it can stop detection. Bug: 189236104 CTS-Coverage-Bug: 183425641 Test: atest CtsVoiceInteractionTestCases Change-Id: I220d2255e5e500c22723f6e2fbc34860a529f216