Make ApplicationInfo.isAudioPlaybackCaptureAllowed() public
This method is used by apps to determine if they are allowed to capture audio playback. The AudioPlaybackConfiguration.getAllowedCapturePolicy() only provides runtime information so this is essential to avoid false-positive results. (cherry picked from https://android-review.googlesource.com/q/commit:f08f5bbe0085fc5b14f12c7f6855f95a053698c9 due to conflicts, Merge-ID in aosp to prevent merging to internal repo) Bug: 362425551 Flag: android.content.pm.audio_playback_capture_allowance Test: cts/tests/tests/content/src/android/content/pm/cts/ApplicationInfoTest Change-Id: Iee165d21bc198b1afdce6145b124a02604684a1b
Loading
Please register or sign in to comment