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 d727ba76
-
mentioned in commit 8998dedb
-
mentioned in commit a759a197
-
mentioned in commit 813f9031
-
mentioned in commit 234171c8
-
mentioned in commit 5ed04898
-
mentioned in commit 9bfd1773
-
mentioned in commit 81fb3644
-
mentioned in commit e6ea9d5a
-
mentioned in commit 66457fdc
-
mentioned in commit 23919e84
-
mentioned in commit 2472c0a8
-
mentioned in commit 91ff3650
-
mentioned in commit 4dbe19d6
-
mentioned in commit 6ecf3dc8
-
mentioned in commit 0eb7db1d
-
mentioned in commit d3070a51
Please register or sign in to comment