Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6c59982 authored by Atneya Nair's avatar Atneya Nair
Browse files

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
parent d772b5f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment