commit | 8b973fb814ee4dbb28347ab90f00e7de8d0f6b41 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Sat May 06 17:35:35 2023 -0700 |
committer | Atneya Nair <atneya@google.com> | Sat May 06 17:48:41 2023 -0700 |
tree | b863e26394563b6ae4f5c8c84bb30462b33af16b | |
parent | 34a070a6ff09a5798fb89f6ce81b96062f0aa671 [diff] |
Fix potential NPE in STHelper We may get stale callbacks for unloaded models, so we should validate the recognition token after checking the validity of the model data. Fixes: 281342889 Bug: 281139493 Test: SoundTriggerManagerTest Change-Id: I77ffea29f43ebf75bcaaaa3332645e71a8c11a36