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

Skip to content
Commit b5aee61b authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

Disable MediaMetrics for the HotwordDetectionService.

HotwordDetectionService is an isolated service which ordinarily cannot
access the audio system due to selinux restrictions on isolated
processes. To bypass those restrictions, the AudioFlinger binder is
being passed from the system server to the HotwordDetectionService.
(I86ac0820fd72676db4740658ffd096df3d20d30e)
To allow reading audio, accesses to the MediaMetrics service must also
be handled. Instead of similarly passing the MediaMetrics binder, we
take the simpler approach of just disabling the service there for now.

Bug: 190011174
Test: manual - sample app can read audio (with a few other wip changes)
Change-Id: I740b4f5acb88821197e3c4023a4032babd48ec5a
parent 632eedc2
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