Fix audio AppOps refcount mismatch
The state of the appop corresponding to a recording must be consistent with the APS notion of whether a recording is silenced. Ensure that when we start recording, we only un-silence the track if the op is allowed from the appop side. This requires plumbing the exact perm state through the startRecording API. Test: atest AudioRecordPermissionTest.java Bug: 293603271 Flag: EXEMPT security Change-Id: Iea630bb2bf1b54697ab6a95ee9f65db5cc4d134a
Loading