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

Skip to content
Commit 6a9e7b80 authored by Atneya Nair's avatar Atneya Nair
Browse files

Fix DetectorSession permissions

onDetected checks permissions for pre-flight instead of data delivery.

Typically this isn't an issue because the AudioRecord will cause timeout
in HDS, but we should be precise.

Also get rid of dead code.

Fixes: 280685301
Test: AlwaysOnHotwordDetectorTest
Test: AGSA with and without mic toggle
Change-Id: I0f6d33f0128771fdc5722f889b8926ee2f1d4693
parent 8313fab9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment