+79
−36
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Fix two issues in Iea630bb2bf1b54697ab6a95ee9f65db5cc4d134a 1. Fix boolean return values in the startRecording method, which implicitly converted incorrectly. 2. Correctly handle virtual sources by not deriving their silence state from the existing checkPerm method, which checks OP_RECORD/RECORD perm. These sources should instead check only their associated op state. For the second, update the appop callback listening/handling as well, by only following/evaluating OP_RECORD for relevant sources. Test: CtsMediaAudioPermissionTestCases Bug: 293603271 Bug: 374800336 Bug: 374869085 Flag: EXEMPT security Change-Id: I8a3498a08a31543219279cb063c043fd0c767cd7