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

Skip to content
Commit 063c4ed5 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio: fix missing package name in attribution source

The attribution source passed by OpenSL ES does not have a package name
which is needed to register for app ops changes.
This CL moves the attribution source verification before we call
AudioPolicyManager getInputForAttr so that the package name is correct
when registering for app ops.

Bug: 243376549
Test: verify app ops work with WhatsApp.
Change-Id: I685514a1ebf7285bbc8381dd4c1f7a10a9a592e4
parent c25c6ed7
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