Cache MMAP client silenced state.
When starting MMAP input stream, APM will check if the client is allowed to capture at that moment or not and call setRecordSilenced if the client is not allowed. However, the client is not active when starting the MMAP input stream. In that case, the client silenced state will be lost and the client will be able to capture even though it is not allowed. In this CL, when setRecordSilenced is called, it will cache the client silenced state so that it can apply when the client is active. Test: atest AAudioTests Test: repo steps from the bug Bug: 235850634 Change-Id: I49b5a0f08d1747053f868db6e88c0f677256fc3c Merged-In: I49b5a0f08d1747053f868db6e88c0f677256fc3c (cherry picked from commit 0960903b)
Loading
-
mentioned in commit 252db281
-
mentioned in commit 81fb3644
-
mentioned in commit e6ea9d5a
-
mentioned in commit 66457fdc
-
mentioned in commit 2472c0a8
-
mentioned in commit 91ff3650
-
mentioned in commit cb03c9df
-
mentioned in commit 23919e84
-
mentioned in commit 6ecf3dc8
-
mentioned in commit 4dbe19d6
-
mentioned in commit f2be7662
-
mentioned in commit 4b217178
-
mentioned in commit a7791a8c
-
mentioned in commit 2beee0f3
-
mentioned in commit 65ac0db5
-
mentioned in commit 09bde957
-
mentioned in commit 4ca8207f
-
mentioned in commit 13a2bb90
-
mentioned in commit 0dac2575
Please register or sign in to comment