commit | 063c4ed57a6e5557fd81b612b0d960942f480c8e | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Sat Sep 24 00:01:57 2022 +0000 |
committer | Eric Laurent <elaurent@google.com> | Sat Sep 24 00:31:44 2022 +0000 |
tree | b4b0831997aafc8a8ffb078c2f81bad32b0f39bb | |
parent | c25c6ed7ad6b5feb1a4483dbaf9751665d0d30ee [diff] |
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