diff options
| author | 2023-04-25 18:58:41 -0700 | |
|---|---|---|
| committer | 2023-05-01 15:05:41 -0700 | |
| commit | 73689f5664c471aa7d49e53b2c3e9430ba4e0fad (patch) | |
| tree | 08e0a681ea1328da73f6afe1ff4791bc90314eaf /tools/aapt2/ResourceParser.cpp | |
| parent | e10a748963871fb2cff4c36a3e12972dd60d748f (diff) | |
Fix ST recognition requested after start error
When recognition does not succeed due to contention, device state, or
another unexpected error, the STService session is left in a requested
state, which can resume recognition later unbeknownst to the client.
Return success and send an immediate pause if the service will handle
resuming. Otherwise, set the state to be not requested.
Fixes: 268218045
Test: new AlwaysOnHotwordDetectorTest methods
Test: Manual verification with EBS for AGSA/now playing
Change-Id: I01c6a49a859bde9cd6574d0df9325f6fa7b0b685
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions