summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorlpeter <lpeter@google.com>2021-05-27 22:54:46 +0800
committerlpeter <lpeter@google.com>2021-06-03 12:03:56 +0800
commit645623e732c27e21bd1efdee04dc118e18ad6464 (patch)
treed591e75b32576b383bf7bf64aa0d131f5735a6f3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentba76d446ee3ec1bc7cf1b15a3ca44d3b7d309898 (diff)
Implement a callback to report HotwordDetectionService status
When the application uses VoiceInteractionService to create a SoftwareHotwordDetector, we need to report the HotwordDetectionService status to the application, but we pass null callback into the updateStateLocked function, it means that we will not receive the HotwordDetectionService status. In this change, we implement IHotwordRecognitionStatusCallback and pass the callback into updateStateLocked function. When we receive the HotwordDetectionService status, we will pass the status to the application. Bug: 183239093 Test: atest CtsVoiceInteractionTestCases Test: atest CtsVoiceInteractionTestCases --instant Change-Id: I1a1b8abe5c7e82eddaa2f0a83f54110df74d1efb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions