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

Commit 7274c3a4 authored by Atneya Nair's avatar Atneya Nair
Browse files

[audio] AudioService IPC invalidation listener changes

Remove the sysprop writing logic from the package/perm cache
invalidation listener relying on the new shared memory backing store for
the PIC/IPC cache. Instead, directly queue the permission sync task,
which is already throttled within AudioService.

This fixes issues with the permission updates during a prolonged
sequence of permission cache corks not triggering the perm sync task in
AudioService until the corking ended. This could happen during tests.

Note, this means that the sysprop listener within audioserver no longer
will be updated with the new memory backed IPC, which is tolerated since
both flags are moving to -next in the same release.

Test: atest CtsPermissionUiTestCases:android.permissionui.cts.CameraMicIndicatorsPermissionTest#testSafetyCenterMicIndicator
Flag: com.android.media.audio.audioserver_permissions
Fixes: 381370620
Fixes: 391175817
Change-Id: Ic30b5ade8456387a3877f6cf433ecf2e3aeb23ab
parent 5fef01f7
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