commit | 935e33f41671847f5bf117dad78d2f6f759819f6 | [log] [tgz] |
---|---|---|
author | Nicholas Ambur <nambur@google.com> | Tue Feb 08 19:58:14 2022 -0800 |
committer | Nicholas Ambur <nambur@google.com> | Thu Feb 10 13:37:41 2022 -0800 |
tree | c2e9cdd58b7de6562ce4ae335a6a31e3116534b7 | |
parent | 2f7b2d5f9424e0bf5f5f11cf5b24409393d4248c [diff] |
API to destroy active detectors The active AlwaysOnHotwordDetector and SoftwareHotwordDetector is always maintained in memory regardless if the client is using it or not. This added API allows an active VoiceInteractionService to indicate that they will no longer use the detector, and it can be cleaned up. Test: atest HotwordDetectionServiceBasicTest Bug: 193232191 Change-Id: I47c6c64c5c85c01e75ddc6bc504664883a57730b