diff options
| author | 2023-12-01 13:27:43 +0000 | |
|---|---|---|
| committer | 2023-12-19 14:45:22 +0000 | |
| commit | 3e14c03272a0e1bfb3b50839efcaae88461b730d (patch) | |
| tree | beb71b79f8b0269b8e9b1da42e967c4c4fe4ca0f /libs/androidfw/ResourceTimer.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions