Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fabe3ca4 authored by Nicholas Ambur's avatar Nicholas Ambur
Browse files

catch stopRecognition exceptions in destroy()

Ignore any exceptions coming out of the HotwordDetector#destroy()
method when stopRecognition is called. The stopRecognition call here is
a best effort call which should not be retried if it fails.

Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionHostTestCases
Bug: 193232191
Change-Id: Ie4f8e68ca9078dca0e30fe73408947a2525c5b9a
parent 274f05a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment