commit | 06e0fa428165ed6eb3e1784d07d2e6d6bf97d0d0 | [log] [tgz] |
---|---|---|
author | Felix Oghina <hackz@google.com> | Fri Dec 01 13:27:43 2023 +0000 |
committer | Felix Oghina <hackz@google.com> | Tue Dec 05 11:59:02 2023 +0000 |
tree | d98949986d98e32057d38b42b3401a94e306323f | |
parent | 08e5de9686f81c5fac702bf72dd7412dba6f1fe1 [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