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
Loading