diff options
| author | 2023-05-04 19:31:55 -0700 | |
|---|---|---|
| committer | 2023-05-10 19:43:55 +0000 | |
| commit | ef2c62e79c192e124857ac30332e31e4880f376c (patch) | |
| tree | 288b5ae84da35e227a4bbea8ba0eb45750532516 /libs/androidfw/FileStream.cpp | |
| parent | d2c2751bffb443ccda8d9e1a4e13bb43f3591a53 (diff) | |
Ensure ST does not remain requested after error
After an error, since the service notifies the client, the service
should not attempt to restart recognition again when a state update
occurs, otherwise a state mismatch will occur.
Also, null out the recog token when the model state is cleared.
Bug: 272147641
Fixes: 280911900
Test: AlwaysOnHotwordDetectorTest#
testRecognitionNotRequested_afterResumeFailed
Change-Id: I3f7c441a87292d767b6296d6075218a29850da2c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions