Migrate allowCapture check to new package data
Avoid a direct call to PackageManager which can deadlock due to contention on the binder thread-pool when AudioService holds locks. Instead, check the native permission controller package data which is pushed to the audioserver for the manifest property allowing for playback capture. Bug: 391967879 Bug: 380150343 Flag: EXEMPT refactor Test: atest CtsMediaAudioPermissionTestCases Change-Id: I6a6a69647b654890f1b88a8406f7e85524fa278b
Loading
Please register or sign in to comment