diff options
author | lpeter <lpeter@google.com> | 2021-04-29 19:07:00 +0800 |
---|---|---|
committer | lpeter <lpeter@google.com> | 2021-05-04 16:22:09 +0800 |
commit | 044ca5adfa0301c96bf8c721c39490a83d630706 (patch) | |
tree | 6962b79203b71f240a17aa1a71d35cf8ad11a66f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8fbe605e1a9c73e3f03f14d2288972646e9badb0 (diff) |
Close audio source after getting callback from HotwordDetectionService
Due to the file descriptor of audio source was closed before
the attempt to parcel the file descriptor when passing the
file descriptor to the HotwordDetectionService.
It will cause the exception below:
java.lang.RuntimeException: Bad file descriptor
It would be better to close audio source when getting
callback from HotwordDetectionService
Bug: 185569471
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I10774fd29d559b5d2bedc21b0ebb2ef849a1b7c6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions