diff options
| author | 2023-04-03 11:29:29 -0700 | |
|---|---|---|
| committer | 2023-04-11 12:12:53 -0700 | |
| commit | 552c327b60752f28e5ee5fcca89af65ffb8a6c5e (patch) | |
| tree | 7eaf18aeb29f38d718ef094188af2a750c644b84 /libs/androidfw/ApkParsing.cpp | |
| parent | ca7c149247e029b159b089c5abe5f583bb640227 (diff) | |
Protect STHAL from duplicate UUID model loads
The STHAL aborts when duplicate UUID model loads are received.
To protect against this, we add a handler above both v2, v3 hals,
which rejects duplicate UUID model loads with RESOURCE_CONTENTION.
Fixes: 275058053
Test: atest SoundTriggerDuplicateModelHandlerTest
Test: manual verification of assistant/now playing
Change-Id: I53b249856fba49b3b33d5668660f4beb8611a20c
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions