diff options
author | lpeter <lpeter@google.com> | 2021-09-07 10:38:20 +0800 |
---|---|---|
committer | lpeter <lpeter@google.com> | 2021-09-07 10:38:20 +0800 |
commit | 74b69a25161e7b6e02c5083a3a5c3c19f20526b6 (patch) | |
tree | c6582b33dffdb70148648cd8d95e8ab724ed5405 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ad28fe0efbb87d6105e5eed67cd2a531e56f62ca (diff) |
Remove the isBound() check for HotwordDetectionService.
There will be a race condition (Ex:Create AlwaysOnHotwordDetector
twice quickly) where it will miss unbinding HotwordDetectionService
and clearing HotwordDetectionServiceProvider when using the
isBound() check for HotwordDetectionService.
Because we use "ServiceConnector.Impl" to create the connection,
it is unnecessary to use isBound() function to check if the
HotwordDetectionService should be unbound.
Bug: 195457729
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Test: manual - DSP and non-DSP
Change-Id: Ib74e0dc9364af3713007b115f7d170bf6e833810
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions