summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ytai Ben-Tsvi <ytai@google.com> 2022-02-16 18:08:51 -0800
committer Ytai Ben-tsvi <ytai@google.com> 2022-02-22 23:06:50 +0000
commit8dc40270b75e7d83f26e29c96a96a683da4180b8 (patch)
tree53212533632aea12890ce5b65efbb5e15b83e83a /api/api.go
parent9492d508d8f700d1b753fa6441f92b79d5d41b6a (diff)
Explicitly close sound model file descriptors
This is a workaround for the fact that currently, relying on the GC to release those resources is unreliable and on the other hand having an explicit close() that isn't tightly coupled with the internal details of the parcelable is not possible (filed a bug). Test: Manual verification of soundtrigger operation. Test: atest com.android.server.soundtrigger_middleware.SoundHw2CompatTest Fixes: 219411458 Change-Id: I43bd43ca80eadf97f0254678b0e817fc6f8a06b2 Merged-In: I43bd43ca80eadf97f0254678b0e817fc6f8a06b2 (cherry picked from commit 578eadd1b4227c79972eb87a5856a7f6c20fb4ef)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions