| commit | 3e14c03272a0e1bfb3b50839efcaae88461b730d | [log] [tgz] |
|---|---|---|
| author | Felix Oghina <hackz@google.com> | Fri Dec 01 13:27:43 2023 +0000 |
| committer | Felix Oghina <hackz@google.com> | Tue Dec 19 14:45:22 2023 +0000 |
| tree | beb71b79f8b0269b8e9b1da42e967c4c4fe4ca0f | |
| parent | 2232a502c432256315666c4146c82daa2c0255b8 [diff] |
[speech] unbind from recognition service Currently, we only remove the service reference, but rely on the timeout built into `ServiceConnector` to actually unbind. This is causing a service leak. We also move `SpeechRecognizer#destroy()` to be handled on the Handler (just like all other calls) in order to fix racing. Bug: 313604307 Bug: 311124261 Test: cts Change-Id: I5384916da98b286f869a32857079087105ca32f9